File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2
2
on :
3
3
- push
4
4
- pull_request
5
+ permissions :
6
+ contents : read
5
7
jobs :
6
8
test :
7
9
name : Node.js ${{ matrix.node-version }}
22
24
key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
23
25
restore-keys : |
24
26
${{ runner.os }}-node-
25
- - run : npm install -g npm@8
26
27
- run : npm ci
27
28
- run : npm test
28
29
- uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change 11
11
# To guarantee Maintained check is occasionally updated. See
12
12
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
13
13
schedule :
14
- - cron : ' 16 21 * * 1'
14
+ - cron : " 16 21 * * 1"
15
15
push :
16
- branches : [ "master" ]
16
+ branches : ["master"]
17
17
18
18
# Declare default permissions as read only.
19
- permissions : read-all
19
+ permissions :
20
+ contents : read
20
21
21
22
jobs :
22
23
analysis :
You can’t perform that action at this time.
0 commit comments