Skip to content

Commit

Permalink
test: run docs separately
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Apr 9, 2024
1 parent 23bd1aa commit 63e87bb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
run: npm run build:docs

2 changes: 1 addition & 1 deletion .github/workflows/docs-test-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
git config --global user.email "actions@github.com"
git config --global user.name "gh-actions"
npm ci
npm run deploy
npm run deploy:docs
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"test:e2e": "lerna run test:e2e",
"dev": "lerna run dev",
"build": "lerna run build",
"build:docs": "lerna run build:docs",
"start:docs": "lerna run start:docs",
"deploy:docs": "lerna run deploy:docs",
"start": "lerna run start",
"serve": "lerna run serve",
"db:create": "lerna run db:create",
Expand Down
12 changes: 6 additions & 6 deletions packages/testing-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"start:docs": "docusaurus start",
"build:docs": "docusaurus build",
"swizzle:docs": "docusaurus swizzle",
"deploy:docs": "docusaurus deploy",
"clear:docs": "docusaurus clear",
"serve:docs": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc"
Expand Down

0 comments on commit 63e87bb

Please sign in to comment.