File tree Expand file tree Collapse file tree 1 file changed +15
-24
lines changed
Expand file tree Collapse file tree 1 file changed +15
-24
lines changed Original file line number Diff line number Diff line change 44 push :
55 pull_request :
66
7+ permissions :
8+ contents : read
9+
710jobs :
811 test-node :
912 runs-on : ubuntu-latest
13+ timeout-minutes : 10
1014
1115 strategy :
16+ fail-fast : false
1217 matrix :
13- node-version : [10.x]
18+ node-version :
19+ - 22
1420
1521 steps :
16- - uses : actions/checkout@v2
22+ - name : Checkout repository
23+ uses : actions/checkout@v4
24+
1725 - name : Use Node.js ${{ matrix.node-version }}
18- uses : actions/setup-node@v1
26+ uses : actions/setup-node@v4
1927 with :
2028 node-version : ${{ matrix.node-version }}
21- - run : npm ci
22- - run : npm test
23- env :
24- CI : true
2529
26- test-browser :
27- runs-on : ubuntu-latest
30+ - name : Install dependencies
31+ run : npm ci
2832
29- steps :
30- - uses : actions/checkout@v2
31- - name : Use Node.js
32- uses : actions/setup-node@v1
33- with :
34- node-version : ' 10.x'
35- - run : npm ci
36- - run : npm test
37- env :
38- CI : true
39- BROWSERS : 1
40- NGROK_AUTH_TOKEN : ${{ secrets.NGROK_AUTH_TOKEN }}
41- SAUCE_USERNAME : ${{ secrets.SAUCE_USERNAME }}
42- SAUCE_ACCESS_KEY : ${{ secrets.SAUCE_ACCESS_KEY }}
43- timeout-minutes : 10
33+ - name : Run tests
34+ run : npm test
You can’t perform that action at this time.
0 commit comments