0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-24 02:07:30 +01:00
This commit is contained in:
Ame_x Edam 2024-11-12 05:25:07 +00:00
parent fb1e32e60f
commit 7861d1a5fe

View File

@ -228,13 +228,12 @@ jobs:
perf-measures-bundle-check-on-pr: perf-measures-bundle-check-on-pr:
name: 'Bundle Check on PR' name: 'Bundle Check on PR'
needs: main
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2 - uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run build
- run: bunx esbuild --minify --bundle dist/index.js --format=esm --outfile=perf-measures/bundle-check/generated/after.js - run: bunx esbuild --minify --bundle dist/index.js --format=esm --outfile=perf-measures/bundle-check/generated/after.js
- uses: actions/cache/restore@v4 - uses: actions/cache/restore@v4
with: with: