Skip to content

Use npm

Use npm #8

Workflow file for this run

name: Publish to github pages
on:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm install --frozen-lockfile
- name: Build docusaurus site
run: npm build
- name: Upload
uses: actions/upload-pages-artifact@v3
with:
path: build