Skip to content

Commit 6fffc2c

Browse files
1 parent f529412 commit 6fffc2c

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.github/workflows/ci.yml

+16-7
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,30 @@ on:
66
schedule:
77
- cron: '0 0 * * 0'
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
test-node:
1114
runs-on: ubuntu-latest
15+
timeout-minutes: 10
1216

1317
strategy:
1418
matrix:
15-
node-version: [12, 14, 16]
19+
node-version:
20+
- 18
1621

1722
steps:
18-
- uses: actions/checkout@v2
23+
- name: Checkout repository
24+
uses: actions/checkout@v3
25+
1926
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v1
27+
uses: actions/setup-node@v3
2128
with:
2229
node-version: ${{ matrix.node-version }}
23-
- run: npm ci
24-
- run: npm test
25-
env:
26-
CI: true
30+
31+
- name: Install dependencies
32+
run: npm ci
33+
34+
- name: Run tests
35+
run: npm test

0 commit comments

Comments
 (0)