We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0309e66 commit cdab5e3Copy full SHA for cdab5e3
.github/workflows/run-tests.yml
@@ -0,0 +1,34 @@
1
+name: Run Tests
2
+
3
+on:
4
+ push:
5
+ branches: [ "*" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ run-tests:
11
+ runs-on: ubuntu-latest
12
+ if: "!contains(github.event.head_commit.message, '[skip-tests]')"
13
14
+ strategy:
15
+ matrix:
16
+ node-version: [ 24.x, 25.x ]
17
18
+ steps:
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 linter
31
+ run: npm run lint
32
33
+ - name: Run tests
34
+ run: npm test
.github/workflows/test.yml
0 commit comments