File tree Expand file tree Collapse file tree 2 files changed +23
-14
lines changed Expand file tree Collapse file tree 2 files changed +23
-14
lines changed Original file line number Diff line number Diff line change @@ -17,18 +17,22 @@ jobs:
17
17
18
18
- name : Checkout
19
19
uses : actions/checkout@master
20
+ with :
21
+ ref : ${{ github.ref }}
22
+ fetch-depth : 0
20
23
21
24
- name : Integration tests
22
- uses : actions/setup-node@v1
25
+ uses : actions/setup-node@v3
23
26
with :
24
- node-version : ' 12'
27
+ node-version : " 18.x"
28
+ cache : " yarn"
25
29
26
- - run : npm install
27
- - run : npm run lint
28
- - run : npm run test
30
+ - run : yarn
31
+ - run : yarn lint
32
+ - run : yarn test
29
33
env :
30
34
CLIENT_ID : ${{ secrets.CLIENT_ID }}
31
35
CLIENT_SECRET : ${{ secrets.CLIENT_SECRET }}
32
36
33
- - run : npm run build
37
+ - run : yarn build
34
38
- 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 :
@@ -18,14 +18,19 @@ jobs:
18
18
19
19
- name : Checkout
20
20
uses : actions/checkout@master
21
+ with :
22
+ ref : ${{ github.ref }}
23
+ fetch-depth : 0
21
24
22
25
- name : Integration tests
23
- uses : actions/setup-node@v1
26
+ uses : actions/setup-node@v3
24
27
with :
25
- node-version : ' 12'
26
- - run : npm install
27
- - run : npm run lint
28
- - run : npm run test
28
+ node-version : " 18.x"
29
+ cache : " yarn"
30
+
31
+ - run : yarn
32
+ - run : yarn lint
33
+ - run : yarn test
29
34
env :
30
- CLIENT_ID : ${{ secrets.CLIENT_ID }}
31
- CLIENT_SECRET : ${{ secrets.CLIENT_SECRET }}
35
+ CLIENT_ID : ${{ secrets.CLIENT_ID }}
36
+ CLIENT_SECRET : ${{ secrets.CLIENT_SECRET }}
You can’t perform that action at this time.
0 commit comments