use switch/case instead of if #102
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: Markup parsing tests | |
on: | |
push: | |
branches: | |
- feature/* | |
- fix/* | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-markup-parsing: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run Linting Checks | |
run: npm run lint | |
- name: Run Tests | |
run: npm run test |