[FIX] Misc Fixes for Actions #11
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: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
node-version: [18, 20, 21, 22] | |
name: Test JS (node ${{ matrix.node-version }}) | |
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 |