Skip to content

Commit 67c95e8

Browse files
committed
chore: update build-script for bundlewatch
1 parent ce45b71 commit 67c95e8

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/bundlewatch.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,21 @@ jobs:
2727
env:
2828
CI_BRANCH_BASE: main
2929
steps:
30-
- uses: actions/checkout@v2
31-
- uses: jackyef/bundlewatch-gh-action@b9753bc9b3ea458ff21069eaf6206e01e046f0b5
30+
- name: Checkout
31+
uses: actions/checkout@v3
32+
33+
- name: Setup Node
34+
uses: actions/setup-node@v3
35+
with:
36+
node-version: 20
37+
cache: npm
38+
39+
- name: Install Dependencies
40+
run: npm ci
41+
42+
- name: Bundlewatch
43+
uses: jackyef/bundlewatch-gh-action@b9753bc9b3ea458ff21069eaf6206e01e046f0b5
3244
with:
33-
build-script: npm i
45+
build-script: npm run prepack
3446
bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
3547
bundlewatch-config: .github/bundlewatch.config.json

0 commit comments

Comments
 (0)