| @@ -42,7 +42,8 @@ jobs: | |||
| with: | |||
| node-version: ${{ matrix.node-version }} | |||
| cache: 'npm' | |||
| - run: npm ci | |||
| - run: npm ci # this will also run `npm run prepare` which will build | |||
| - run: npm run docs | |||
| - run: mkdir _site | |||
| - run: mv -t _site docs dist examples README.md LICENSE index.html | |||
| - name: Setup Pages | |||
| @@ -17,7 +17,7 @@ | |||
| "serve-docs": "ws -d docs -p 8080", | |||
| "serve": "ws -d . -p 9229", | |||
| "docs": "npx typedoc && markdown-to-html", | |||
| "prepare": "npm run build && npm run build-examples && npm run docs" | |||
| "prepare": "npm run build && npm run build-examples" | |||
| }, | |||
| "clean-package": { | |||
| "remove": [ | |||
| @@ -38,7 +38,6 @@ | |||
| "files": [ | |||
| "dist", | |||
| "src", | |||
| "docs", | |||
| "examples", | |||
| "plugins", | |||
| "tsconfig.json" | |||