Bump vite from 8.1.4 to 8.1.5 in /src #77
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: Node.js CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | |
| # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | |
| # PR builds get their own group per ref so they don't block production deployments. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04-arm | |
| defaults: | |
| run: | |
| working-directory: src | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: src/package.json | |
| - run: npm ci | |
| - run: npm run build | |
| # GitHub Pages serves a root-level 404.html for unknown URLs. React Router | |
| # prerenders the route to 404/index.html, so copy it to the flat filename. | |
| - name: Add 404 page for GitHub Pages | |
| run: cp build/client/404/index.html build/client/404.html | |
| - name: Upload artifact | |
| # Only upload after merge to main, not on pull request builds. | |
| if: github.event_name == 'push' | |
| uses: actions/upload-pages-artifact@v5 | |
| with: | |
| path: ./src/build/client | |
| deploy: | |
| needs: build | |
| # Only deploy after merge to main, not on pull request builds. | |
| if: github.event_name == 'push' | |
| permissions: | |
| pages: write # to deploy to Pages | |
| id-token: write # to verify the deployment originates from an appropriate source | |
| # Deploy to the github-pages environment | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| # Specify runner + deployment step | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v5 # or specific "vX.X.X" version tag for this action |