Skip to content

[FIX] Misc Fixes for Actions #10

[FIX] Misc Fixes for Actions

[FIX] Misc Fixes for Actions #10

Workflow file for this run

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