Skip to content

Commit

Permalink
fix: 💚 more on bundlewatch
Browse files Browse the repository at this point in the history
Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com>
  • Loading branch information
iamnewton committed Oct 23, 2024
1 parent f6276e6 commit 252c940
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,25 @@ on:
- opened

jobs:
setup:
bundle-size:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout repository
with:
fetch-depth: 0

- uses: actions/setup-node@v4
name: Setup Node.js @v20
with:
cache: npm
node-version: 20.x

- run: npm ci
name: Install dependencies

bundle-size:
needs: setup
runs-on: ubuntu-latest
steps:
- uses: jackyef/bundlewatch-gh-action@0.3.0
id: audit-bundle-size
name: Analyze using BundleWatch
with:
build-script: npm run build
bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}

0 comments on commit 252c940

Please sign in to comment.