Debian Codegraph @

.github/workflows/test.yml

raw symbols SCIP
1 name: Test
2
3 on:
4 push:
5 branches: [main]
6 pull_request:
7 workflow_dispatch:
8
9 jobs:
10 test:
11 runs-on: ubuntu-latest
12
13 strategy:
14 matrix:
15 node_version: [18, 20, 21]
16
17 steps:
18 - name: Checkout
19 uses: actions/checkout@v4
20
21 - name: Use Node.js ${{ matrix.node_version }}
22 uses: actions/setup-node@v4
23 with:
24 node-version: ${{ matrix.node_version }}
25 cache: npm
26
27 - name: Install dependencies
28 run: npm ci
29
30 - name: Run tests
31 run: npm run test