Debian Codegraph @

a11y-plugin/.github/workflows/unit-tests.yml

raw
1 name: Unit tests
2
3 on:
4 push:
5 branches: [main, master, next]
6 pull_request:
7 workflow_dispatch:
8
9 jobs:
10 run-tests:
11 name: Run unit tests
12 runs-on: ubuntu-latest
13 timeout-minutes: 5
14
15 steps:
16 - name: Check out repo
17 uses: actions/checkout@v3
18
19 - name: Set up node
20 uses: actions/setup-node@v3
21 with:
22 node-version: 18
23
24 - run: npm ci
25 - run: npm run build
26
27 - name: Run tests
28 run: npm run test:unit