From 42a83a6ade6c74a221a0d2b67fc07d8d6b6b8d02 Mon Sep 17 00:00:00 2001 From: Martin Schuhfuss Date: Fri, 8 Dec 2023 12:31:21 +0100 Subject: [PATCH] chore: update bundlewatch config --- .github/workflows/bundlewatch.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 945412fe..373a8d67 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -27,9 +27,21 @@ jobs: env: CI_BRANCH_BASE: main steps: - - uses: actions/checkout@v3 - - 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