Skip to content

Commit 5174401

Browse files
committed
Run the prepare script because this isn't ran during the build and switch from install to ci in the pipeline.
1 parent faa44b0 commit 5174401

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/main.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Authenticate with GitHub package registry
3434
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
3535

36-
- run: npm install
36+
- run: npm ci
3737

3838
- run: npm run lint
3939

@@ -43,6 +43,8 @@ jobs:
4343

4444
- run: npm run build
4545

46+
- run: npm run prepare
47+
4648
- run: npm run test-dist
4749

4850
- run: npm run demo
@@ -75,11 +77,11 @@ jobs:
7577
- name: Authenticate with GitHub package registry
7678
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
7779

78-
- run: npm install
80+
- run: npm ci
7981

8082
- run: npm run build
8183

82-
- run: npm install
84+
- run: npm ci
8385

8486
- run: ./example.sh
8587
working-directory: deno

0 commit comments

Comments
 (0)