[FIX] Misc Fixes for Actions #8
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: JS Quality Tests | |
on: | |
pull_request: | |
env: | |
fail-fast: true | |
jobs: | |
test: | |
name: JS Quality Tests | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
node-version: [18, 20, 21, 22] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: npm | |
- name: Setup dependencies | |
run: npm install | |
- name: Lint JS | |
run: npm run lint | |
- name: Unit Test | |
run: npm run test | |
- name: Build | |
run: npm run build |