diff --git a/.github/workflows/docs-test-build.yaml b/.github/workflows/docs-test-build.yaml index 8ce42aafec..a70d649bea 100644 --- a/.github/workflows/docs-test-build.yaml +++ b/.github/workflows/docs-test-build.yaml @@ -21,5 +21,5 @@ jobs: - name: Install dependencies run: npm ci - name: Build website - run: npm run build + run: npm run build:docs diff --git a/.github/workflows/docs-test-deploy.yaml b/.github/workflows/docs-test-deploy.yaml index 471e7ead7f..1e229a15de 100644 --- a/.github/workflows/docs-test-deploy.yaml +++ b/.github/workflows/docs-test-deploy.yaml @@ -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 diff --git a/package.json b/package.json index 634dfc6fd9..1f5470cea5 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/testing-docs/package.json b/packages/testing-docs/package.json index 2b50200bec..fbe729d3e1 100644 --- a/packages/testing-docs/package.json +++ b/packages/testing-docs/package.json @@ -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"