Skip to content

chore: functions added by PRs are saved to a Supabase instance #16

chore: functions added by PRs are saved to a Supabase instance

chore: functions added by PRs are saved to a Supabase instance #16

Workflow file for this run

name: Bundle Impact
on:
pull_request_target:
branches: [main, next]
types: [opened, synchronize]
jobs:
bundle-impact:
name: Calculate Bundle Impact
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: '22.x'
cache: pnpm
- run: pnpm install
- name: Run Bundle Impact
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const script = require('./scripts/pr-bundle-impact.cjs')
await script.run({github, core, context})