There was an error while loading. Please reload this page.
1 parent fb90ca4 commit 9d9b321Copy full SHA for 9d9b321
1 file changed
.github/workflows/npm-test.yaml
@@ -0,0 +1,38 @@
1
+name: npm test
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches-ignore:
7
+ - 'main'
8
+ paths:
9
+ - '.github/workflows/npm-test.yaml'
10
+ - 'package.json'
11
+ - 'package-lock.json'
12
+ - 'src/**'
13
+ pull_request:
14
15
16
17
18
19
20
+jobs:
21
+ test:
22
+ runs-on: ubuntu-latest
23
24
+ steps:
25
+ - name: Checkout
26
+ uses: actions/checkout@v4
27
28
+ - name: Setup Node.js
29
+ uses: actions/setup-node@v4
30
+ with:
31
+ node-version: 24
32
+ cache: npm
33
34
+ - name: Install dependencies
35
+ run: npm ci
36
37
+ - name: Run tests
38
+ run: npm run test
0 commit comments