Skip to content

feat: update node version #63

feat: update node version

feat: update node version #63

Workflow file for this run

name: github-pages
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 20.15.0
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install
- run: pnpm build
- run: pnpm build-example
- name: GitHub Pages
uses: crazy-max/[email protected]
with:
build_dir: dist
jekyll: false # optional, default is true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}