This repository has been archived by the owner on Dec 1, 2024. It is now read-only.
Bump vite from 5.4.10 to 5.4.11 (#116) #318
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: Upload to GitHub pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "18.x" | |
- name: Set up PNPM | |
uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- name: Cache dependencies | |
uses: actions/cache@v1 | |
with: | |
path: ~/.pnpm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- run: pnpm install | |
- run: pnpm run build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.PERSONAL_TOKEN }} | |
publish_dir: ./dist |