File tree Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,17 @@ jobs:
19
19
uses : actions/checkout@master
20
20
21
21
- name : Integration tests
22
- uses : actions/setup-node@v1
22
+ uses : actions/setup-node@v3
23
23
with :
24
- node-version : ' 12'
24
+ node-version : " 18.x"
25
+ cache : " yarn"
25
26
26
- - run : npm install
27
- - run : npm run lint
28
- - run : npm run test
27
+ - run : yarn
28
+ - run : yarn lint
29
+ - run : yarn test
29
30
env :
30
31
CLIENT_ID : ${{ secrets.CLIENT_ID }}
31
32
CLIENT_SECRET : ${{ secrets.CLIENT_SECRET }}
32
33
33
- - run : npm run build
34
+ - run : yarn build
34
35
- run : npm publish
Original file line number Diff line number Diff line change 5
5
types : [opened, synchronize, ready_for_review, reopened]
6
6
push :
7
7
branches :
8
- - master
8
+ - master
9
9
10
10
jobs :
11
11
test :
@@ -20,12 +20,14 @@ jobs:
20
20
uses : actions/checkout@master
21
21
22
22
- name : Integration tests
23
- uses : actions/setup-node@v1
23
+ uses : actions/setup-node@v3
24
24
with :
25
- node-version : ' 16'
26
- - run : npm install
27
- - run : npm run lint
28
- - run : npm run test
25
+ node-version : " 18.x"
26
+ cache : " yarn"
27
+
28
+ - run : yarn
29
+ - run : yarn lint
30
+ - run : yarn test
29
31
env :
30
- CLIENT_ID : ${{ secrets.CLIENT_ID }}
31
- CLIENT_SECRET : ${{ secrets.CLIENT_SECRET }}
32
+ CLIENT_ID : ${{ secrets.CLIENT_ID }}
33
+ CLIENT_SECRET : ${{ secrets.CLIENT_SECRET }}
You can’t perform that action at this time.
0 commit comments