Skip to content

Commit

Permalink
test: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Apr 9, 2024
1 parent 74ee924 commit cc4d13f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docs-test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build:docs
working-directory: ./packages/testing-docs
run: npm run build

3 changes: 2 additions & 1 deletion .github/workflows/docs-test-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ jobs:
with:
ssh-private-key: ${{ secrets.BE_TEST_DOCS_DEPLOY_KEY }}
- name: Deploy to GitHub Pages
working-directory: ./packages/testing-docs
env:
USE_SSH: true
run: |
git config --global user.email "[email protected]"
git config --global user.name "gh-actions"
npm ci
npm run deploy:docs
npm run deploy
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
"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:docs": "docusaurus start",
"build:docs": "docusaurus build",
"swizzle:docs": "docusaurus swizzle",
"deploy:docs": "docusaurus deploy",
"clear:docs": "docusaurus clear",
"serve:docs": "docusaurus serve",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc"
Expand Down

0 comments on commit cc4d13f

Please sign in to comment.