Skip to content

Commit

Permalink
feat: 💚 add in bundlewatch
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnewton committed Oct 17, 2024
1 parent 9bf8b80 commit 85fe034
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Audit"

on:
pull_request:
types: [synchronize, opened]

jobs:
bundlewatch:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"

- name: Install dependencies
- run: npm ci

- name: Bundlewatch
- uses: jackyef/bundlewatch-gh-action@0.3.0
with:
build-script: npm run build
bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
bundlewatch-config: ./node_modules/@theholocron/bundlewatch-config/bundlewatch.config.js

0 comments on commit 85fe034

Please sign in to comment.