Skip to content

Update Node.js version and use pnpm for dependency installation #3

Update Node.js version and use pnpm for dependency installation

Update Node.js version and use pnpm for dependency installation #3

name: Deploy Example to GitHub Pages
on:
push:
branches:
- "**"
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 8.15.6
- uses: actions/[email protected]
with:
node-version: 20.x
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build Example
run: cd example && npm install && npm run build
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: example/dist