1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 03:56:59 +00:00

chore: repo cleanup

This commit is contained in:
James Cook 2023-06-01 19:54:26 +01:00
parent 40b1683d94
commit 0cabed9778
13 changed files with 10 additions and 159 deletions

View file

@ -1,4 +1,4 @@
name: Typedoc
name: Docs
on:
push:
@ -19,21 +19,21 @@ jobs:
- uses: pnpm/action-setup@v2
with:
version: 8.2.0
- name: Retrieve the cached "node_modules" directory (if present)
- name: Retrieve the cache
uses: actions/cache@v3
id: node-cache
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install dependencies (if the cached directory was not found)
- name: Install dependencies
if: steps.node-cache.outputs.cache-hit != 'true'
run: pnpm install
- name: Test to see if the project compiles
- name: Build
run: pnpm run build
- name: Create the docs directory locally in CI
- name: Generate typedoc
run: pnpm generateDocs
- name: Deploy 🚀