lightbox mobile #4487
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: web-bundle-diff | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
bundle-diff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: 'actions/checkout@v3' | |
with: | |
fetch-depth: 0 | |
- uses: 'actions/setup-node@v3' | |
with: | |
node-version: 20.5.0 | |
cache: 'yarn' | |
- run: 'yarn install --immutable' | |
- name: Build Next.js App | |
run: DISABLE_SENTRY=true node_modules/.bin/moon run web:build | |
- name: Analyze bundle sizes | |
uses: transferwise/actions-next-bundle-analyzer@master | |
with: | |
# Filename of the workflow this step is defined in | |
workflow-id: web.bundle-diff.yml | |
base-branch: main | |
working-directory: apps/web | |
env: | |
# This secret is automatically injected by GitHub | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |