Bump vite from 5.0.11 to 5.2.8 #125
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: Build Preview | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
build-preview: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: npm ci | |
- run: npm run build | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: site | |
path: dist | |
- name: Store pull request number for later use | |
run: | | |
mkdir -p build/pr | |
echo ${{github.event.number}} > build/pr/number | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: pr | |
path: build/pr |