Skip to content

use pnpm

use pnpm #21

Workflow file for this run

name: Build Site and Upload Artifact
on:
push:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- run: pnpm ci
- run: pnpm run build
- uses: actions/upload-artifact@v3
with:
name: dist
path: dist/