From 252c9408d48b52a0ab9bfd010efa819bb1f3e0b5 Mon Sep 17 00:00:00 2001 From: Newton <5769156+iamnewton@users.noreply.github.com> Date: Tue, 22 Oct 2024 21:07:48 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=92=9A=20more=20on=20bundlewatch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com> --- .github/workflows/audit.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index d0fa7ca..5559f2e 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -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 }}