resolves #1632 workaround to produce valid xhtml #216
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mermaid CI | |
on: | |
push: | |
paths: | |
- 'mermaid/**' | |
branches: | |
- main | |
pull_request: | |
paths: | |
- 'mermaid/**' | |
branches: | |
- '*' | |
jobs: | |
mermaid-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'Setup Node.js 18' | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Node dependencies | |
run: npm i | |
working-directory: mermaid | |
- name: Lint & tests | |
run: npm run lint && npm t | |
working-directory: mermaid |