File tree Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Pull Request
2
+ on :
3
+ pull_request :
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v3
10
+ with :
11
+ ref : ${{ github.ref }}
12
+
13
+ - name : Setup Node.js
14
+ uses : actions/setup-node@v3
15
+ with :
16
+ node-version : 16
17
+ cache : " npm"
18
+
19
+
20
+ - run : npm ci
21
+ - run : npm run prepublishOnly
22
+ - run : npm run test:update
23
+ - run : npm run test
Original file line number Diff line number Diff line change @@ -10,14 +10,12 @@ jobs:
10
10
build :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v3
14
14
with :
15
15
ref : ${{ github.ref }}
16
- - name : " cat package.json"
17
- run : cat ./package.json
18
16
19
17
- name : Setup Node.js
20
- uses : actions/setup-node@v2
18
+ uses : actions/setup-node@v3
21
19
with :
22
20
node-version : 16
23
21
cache : " npm"
You can’t perform that action at this time.
0 commit comments