Skip to content

fix: don't specify pnpm version as it's on the package.json #145

fix: don't specify pnpm version as it's on the package.json

fix: don't specify pnpm version as it's on the package.json #145

Workflow file for this run

name: Build and Deplow Web
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: write
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- name: Install and Build 🔧
run: |
pnpm install --frozen-lockfile
pnpm run build
- name: Deploy 🚀
if: github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/.vitepress/dist