Skip to content

upgrade pnpm (#59)

upgrade pnpm (#59) #68

name: Custom Github Pages Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Use Node.js specified in the '.nvmrc' file
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install node dependencies recursively
uses: nick-fields/retry@v3
with:
command: pnpm i
timeout_minutes: 15
max_attempts: 3
retry_on: error
- name: Build 🔧
run: |
pnpm run export
- uses: JamesIves/github-pages-deploy-action@v4
with:
folder: out
branch: gh-pages