Skip to content

Commit

Permalink
modify publish-docs github action
Browse files Browse the repository at this point in the history
  • Loading branch information
bkp7 committed Nov 19, 2023
1 parent 6098ce5 commit 584762b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- run: npm run docs
- uses: actions/upload-pages-artifact@v2
with:
path: ./docs
path: ./pages

deploy:
needs: build
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ build
prebuild
externals
*.tgz
docs
pages
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"scripts": {
"build": "node ./scripts/rm-rf.js ./lib && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && node ./scripts/post-build.js",
"docs": "typedoc --excludePrivate --includeVersion --out docs src/index.ts",
"docs": "typedoc --excludePrivate --includeVersion --out pages/docs src/index.ts",
"spellcheck": "cspell **/* --dot",
"mocha": "mocha --loader=ts-node/esm -r ts-node/register -exclude tests/**/*.slow.spec.ts tests/**/*.spec.ts",
"mocha:all": "mocha --loader=ts-node/esm -r ts-node/register tests/**/*.spec.ts",
Expand All @@ -40,7 +40,7 @@
"eslint:fix": "eslint src/**/*.{ts,tsx} --fix",
"test": "npm run spellcheck && npm run eslint && npm run mocha:cov",
"prepare": "npm test && npm run build",
"clean": "node ./scripts/rm-rf.js ./lib ./coverage"
"clean": "node ./scripts/rm-rf.js ./lib ./coverage ./pages"
},
"keywords": [
"library",
Expand Down

0 comments on commit 584762b

Please sign in to comment.