Skip to content

build(deps-dev): bump vite from 5.0.12 to 5.0.13 (#1) #29

build(deps-dev): bump vite from 5.0.12 to 5.0.13 (#1)

build(deps-dev): bump vite from 5.0.12 to 5.0.13 (#1) #29

Workflow file for this run

name: GitHub Pages
on:
push:
branches: main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
run_install: false
- id: pnpm-store-path
name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-store-path.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- run: pnpm build --base=/${{ github.event.repository.name }}/
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: packages/build/dist
clean: true
token: ${{ secrets.GITHUB_TOKEN }}