chore(deps): update dependency vite to v6 [security] #3748
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: Build pull request | |
| on: | |
| pull_request: | |
| types: ['opened', 'synchronize'] | |
| jobs: | |
| build-pull-request: | |
| name: Build pull request | |
| runs-on: ubuntu-latest | |
| env: | |
| PR_NUMBER: ${{github.event.number}} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: ".node-version" | |
| package-manager-cache: false | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build app | |
| env: | |
| NODE_OPTIONS: '--max_old_space_size=4096' | |
| run: npm run build | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: preview | |
| path: dist | |
| retention-days: 1 | |
| - name: Save pr number | |
| run: echo ${PR_NUMBER} > ./pr.txt | |
| - name: Upload pr number | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: pr | |
| path: ./pr.txt | |
| retention-days: 1 |