We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38a99a0 commit 59a66c2Copy full SHA for 59a66c2
1 file changed
.github/workflows/test.yml
@@ -1,14 +1,28 @@
1
name: Node.js CI
2
3
-on: [push, pull_request]
+on:
4
+ push:
5
+ branches: [ main, dev ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+env:
10
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
11
12
jobs:
13
test:
14
runs-on: ubuntu-latest
15
steps:
16
- uses: actions/checkout@v4
- - uses: actions/setup-node@v4
17
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v4
20
with:
- node-version: '20'
- - run: npm install
- - run: npm test
21
+ node-version: '24'
22
+ cache: 'npm'
23
24
+ - name: Install dependencies
25
+ run: npm install
26
27
+ - name: Run tests
28
+ run: npm test
0 commit comments