Skip to content

Update actions versions #71

Update actions versions

Update actions versions #71

Workflow file for this run

name: Publish Typedoc to Github Pages
on:
push:
branches:
- master
paths:
- Readme.md
- src/common/config/classes.ts
- .github/workflows/typedoc.yml
- package.json
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js for use with actions
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: NPM install
run: npm ci
# Runs a single command using the runners shell
- name: Build and lint
run: npm run docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs