Files
javascript-client-sdk/.github/workflows/docs.yml
T
Rexogamer 2e19bb28f9 ci: use correct version of pnpm + node 20
turns out [this is optional](https://github.com/pnpm/action-setup/tree/master#version) if `packageManager` is set in `package.json` (which it is). I imagine the version mismatch was the cause of our woes
2024-06-26 11:30:00 +01:00

32 lines
657 B
YAML

name: Publish Documentation
on:
push:
branches: [main]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- uses: pnpm/action-setup@v4.0.0
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install packages
run: pnpm install
- name: Build
run: pnpm run docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: docs
folder: docs