File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test Node.js implementation
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ test :
7+ timeout-minutes : 10
8+ strategy :
9+ fail-fast : false
10+ matrix :
11+ node-version :
12+ - 20.x
13+ - 22.x
14+ - 24.x
15+ - 25.x
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Harden Runner
19+ uses : step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
20+ with :
21+ egress-policy : audit
22+
23+ - name : Use Node.js ${{ matrix.node-version }}
24+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
25+ with :
26+ node-version : ${{ matrix.node-version }}
27+ - name : Check Node.js installation
28+ run : |
29+ node --version
30+ npm --version
31+ - name : Install dependencies
32+ run : npm install
33+ - name : npm test
34+ run : npm run node:test
You can’t perform that action at this time.
0 commit comments