Skip to content

Upgrade node (20.18.0), pnpm (9.12.0) #61

Upgrade node (20.18.0), pnpm (9.12.0)

Upgrade node (20.18.0), pnpm (9.12.0) #61

name: Custom Github Pages Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Use Node.js specified in the '.nvmrc' file
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- name: Install pnpm
run: npm i -gf "pnpm@$(node -p 'require("./package.json").engines.pnpm')" && pnpm -v
- name: Install and Build 🔧
run: |
pnpm i
pnpm run export
- uses: JamesIves/github-pages-deploy-action@v4
with:
folder: out
branch: gh-pages