File tree 2 files changed +20
-14
lines changed
2 files changed +20
-14
lines changed Original file line number Diff line number Diff line change 8
8
branches :
9
9
- main
10
10
11
+ permissions :
12
+ contents : read
13
+
11
14
jobs :
12
15
build :
13
16
runs-on : macos-latest
14
17
steps :
15
- - uses : actions/checkout@v3
18
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag: v4.1.1
16
19
- name : Setup Node.js
17
- uses : actions/setup-node@v3
20
+ uses : actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # tag: v4.0.1
18
21
with :
19
- node-version : current
20
- - name : Lint
21
- run : |
22
- npm install
23
- npm run lint
22
+ node-version : lts/-1
23
+ - name : Install Dependencies
24
+ run : npm ci
25
+ - name : Run Tests
26
+ run : npm run lint
Original file line number Diff line number Diff line change 8
8
branches :
9
9
- main
10
10
11
+ permissions :
12
+ contents : read
13
+
11
14
jobs :
12
15
build :
13
16
runs-on : macos-latest
14
17
steps :
15
- - uses : actions/checkout@v3
18
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag: v4.1.1
16
19
- name : Setup Node.js
17
- uses : actions/setup-node@v3
20
+ uses : actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # tag: v4.0.1
18
21
with :
19
- node-version : current
20
- - name : npm install, build, and test
21
- run : |
22
- npm install
23
- npm test
22
+ node-version : lts/-1
23
+ - name : Install Dependencies
24
+ run : npm ci
25
+ - name : Run Tests
26
+ run : npm test
You can’t perform that action at this time.
0 commit comments