Skip to content

[migrate] upgrade to Node.js 20, PNPM 9, ESLint 9 & other latest Upst… #6

[migrate] upgrade to Node.js 20, PNPM 9, ESLint 9 & other latest Upst…

[migrate] upgrade to Node.js 20, PNPM 9, ESLint 9 & other latest Upst… #6

Workflow file for this run

name: CI & CD
on:
push:
branches:
- master
jobs:
Build-and-Deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install & Build
run: |
pnpm i --frozen-lockfile
pnpm build
- name: Deploy to GitHub pages
uses: peaceiris/actions-gh-pages@v4
with:
publish_dir: ./dist
personal_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true