Skip to content

Commit

Permalink
docs: ready?
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Sep 21, 2023
1 parent 8e53e6b commit 6b1c61a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/caffemocha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
docs:
name: Docs Gen Test
runs-on: ubuntu-latest
if: false

steps:
- name: actions/checkout
Expand Down Expand Up @@ -77,7 +76,7 @@ jobs:
run: pnpm install

- name: Build all Package
run: pnpm turbo run --filter=cocoa-discord build
run: pnpm run build

- name: Mocha Test, Actually it is now Jest, and just switched to Vitest
run: pnpm --filter=cocoa-discord test:coverage
run: pnpm run test
12 changes: 7 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ name: Documentation

on:
push:
tags:
- "TEMP-DISABLED__cocoa-discord@*.*"
workflow_dispatch:
branches:
- main
paths:
- apps/docs/**
- packages/*/CHANGELOG.md

permissions:
contents: read
Expand Down Expand Up @@ -48,10 +50,10 @@ jobs:
run: pnpm run docs

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
with:
path: docs-dist

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@main
uses: actions/deploy-pages@v2
1 change: 0 additions & 1 deletion packages/cocoa-discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"lint": "eslint src tests *.ts --max-warnings=0",
"format": "eslint src tests *.ts --fix",
"test": "FORCE_COLOR=2 vitest run",
"test:coverage": "FORCE_COLOR=2 vitest run --coverage",
"docs": "pnpm lm:config && typedoc"
},
"keywords": [
Expand Down

0 comments on commit 6b1c61a

Please sign in to comment.