Skip to content

Commit 800e9cb

Browse files
committed
upgrade github workflow tests
1 parent e86a728 commit 800e9cb

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,22 @@ jobs:
88

99
strategy:
1010
matrix:
11-
os: [macos-latest, windows-2019, ubuntu-18.04]
11+
os: [macos-latest, windows-latest, ubuntu-latest]
1212

1313
steps:
1414
- name: Check out Git repository
15-
uses: actions/checkout@v1
15+
uses: actions/checkout@v4
1616

17-
- name: Install Node.js, NPM and Yarn
18-
uses: actions/setup-node@v1
17+
- name: Install Node.js and NPM
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: 13
20+
node-version: 22
21+
cache: 'npm'
2122

22-
- name: Increase yarn network timeout
23-
run: |
24-
yarn config set network-timeout 300000
25-
26-
- name: yarn install
27-
run: |
28-
yarn install
23+
- name: npm install
24+
run: npm install
2925

30-
- name: yarn test
26+
- name: Test
3127
env:
3228
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3329
USERNAME: ${{ secrets.USERNAME }}
@@ -36,10 +32,10 @@ jobs:
3632
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
3733
LICENSE_ID: ${{ secrets.LICENSE_ID }}
3834
run: |
39-
yarn package-ci
40-
yarn lint
41-
yarn tsc
35+
npm run package-ci
36+
npm run lint
37+
npm run tsc
4238
4339
# Failing because virtual framebuffer not installed
44-
# yarn build-e2e
45-
# yarn test-e2e
40+
# npm run build-e2e
41+
# npm run test-e2e

0 commit comments

Comments
 (0)