Skip to content

Commit a44faec

Browse files
committed
chore: update workflows
1 parent a46957b commit a44faec

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,17 @@ jobs:
1919
uses: actions/checkout@master
2020

2121
- name: Integration tests
22-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v3
2323
with:
24-
node-version: '12'
24+
node-version: "18.x"
25+
cache: "yarn"
2526

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
2930
env:
3031
CLIENT_ID: ${{ secrets.CLIENT_ID }}
3132
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
3233

33-
- run: npm run build
34+
- run: yarn build
3435
- run: npm publish

.github/workflows/test.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [opened, synchronize, ready_for_review, reopened]
66
push:
77
branches:
8-
- master
8+
- master
99

1010
jobs:
1111
test:
@@ -20,12 +20,14 @@ jobs:
2020
uses: actions/checkout@master
2121

2222
- name: Integration tests
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v3
2424
with:
25-
node-version: '12'
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
2931
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 }}

0 commit comments

Comments
 (0)