Skip to content

Commit b3dde0a

Browse files
1 parent ab13c49 commit b3dde0a

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/ci.yml

+12-7
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ 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:
@@ -28,15 +32,16 @@ jobs:
2832
- 5432:5432
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 }}
3642

37-
- run: npm ci
43+
- name: Install dependencies
44+
run: npm ci
3845

39-
- run: npm test
40-
env:
41-
CI: true
42-
timeout-minutes: 10
46+
- name: Run tests
47+
run: npm test

0 commit comments

Comments
 (0)