Skip to content

Commit

Permalink
chore: update build-script for bundlewatch
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulthink committed Dec 8, 2023
1 parent ce45b71 commit 67c95e8
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/bundlewatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,21 @@ jobs:
env:
CI_BRANCH_BASE: main
steps:
- uses: actions/checkout@v2
- uses: jackyef/bundlewatch-gh-action@b9753bc9b3ea458ff21069eaf6206e01e046f0b5
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm

- name: Install Dependencies
run: npm ci

- name: Bundlewatch
uses: jackyef/bundlewatch-gh-action@b9753bc9b3ea458ff21069eaf6206e01e046f0b5
with:
build-script: npm i
build-script: npm run prepack
bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
bundlewatch-config: .github/bundlewatch.config.json

0 comments on commit 67c95e8

Please sign in to comment.