Skip to content

Commit 1588649

Browse files
1 parent 9a00cea commit 1588649

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ on:
66
schedule:
77
- cron: '0 0 * * 1'
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:
@@ -28,12 +32,16 @@ jobs:
2832
- 6379:6379
2933

3034
steps:
31-
- uses: actions/checkout@v2
35+
- name: Checkout repository
36+
uses: actions/checkout@v3
37+
3238
- name: Use Node.js ${{ matrix.node-version }}
33-
uses: actions/setup-node@v1
39+
uses: actions/setup-node@v3
3440
with:
3541
node-version: ${{ matrix.node-version }}
36-
- run: npm ci
37-
- run: npm test
38-
env:
39-
CI: true
42+
43+
- name: Install dependencies
44+
run: npm ci
45+
46+
- name: Run tests
47+
run: npm test

0 commit comments

Comments
 (0)