Skip to content

Fix publishing on master (#109) #266

Fix publishing on master (#109)

Fix publishing on master (#109) #266

Workflow file for this run

---
name: Build docs
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: |
pnpm install --force @img/sharp-linux-x64
pnpm install --frozen-lockfile --ignore-scripts
- name: Build the docs
run: pnpm run build