docker-compose local startup #39
Workflow file for this run
This file contains hidden or 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: Bundle Analysis | |
on: | |
pull_request: | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: cd app && npm ci | |
- name: Run bundle analysis | |
run: cd app && npm run analyze-ci | |
- name: Check bundle size | |
run: cd app && npm run check-bundle-size | |
- name: Upload bundle analysis | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: bundle-analysis | |
path: app/bundle-analysis.txt |