chore: Bump relative-ci/agent@5.2.0 #874
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: build | |
| on: | |
| push: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: hmarr/debug-action@v3 | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'npm' | |
| # Install dependencies | |
| - run: npm ci | |
| # Lint | |
| - run: npm run lint -- --quiet | |
| # Build and output webpack stats to artifacts/webpack-stats.json | |
| - run: npm run build | |
| - name: Send bundle stats and build information to relative-ci.com | |
| run: npx relative-ci | |
| env: | |
| RELATIVE_CI_KEY: ${{ secrets.RELATIVE_CI_KEY }} | |
| DEBUG: ${{ secrets.DEBUG }} | |
| - name: Archive production artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-artifacts | |
| path: | | |
| webpack-stats.json | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: build | |
| path: ./dist |