Skip to content
This repository was archived by the owner on Jun 16, 2022. It is now read-only.

Commit 3147194

Browse files
committed
Fix CI
1 parent 04e7901 commit 3147194

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

Diff for: .github/workflows/test.yml

+17-8
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,22 @@ on: # rebuild any PRs and main branch changes
1010
- 'releases/*'
1111

1212
jobs:
13-
build: # make sure build/ci work properly
13+
build:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
17-
- run: |
18-
npm ci
19-
env:
20-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
21-
- run: |
22-
npm run all
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
19+
- name: Install Node
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: 16
23+
registry-url: 'https://npm.pkg.github.com'
24+
env:
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
26+
27+
- run: npm ci --ignore-scripts
28+
env:
29+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
30+
31+
- run: npm rebuild && npm run all

0 commit comments

Comments
 (0)