Ver código fonte

Remove docs from registry publish and prepare

master
Palash Bansal 3 anos atrás
pai
commit
b1f5725208
Nenhuma conta vinculada ao e-mail do autor do commit
2 arquivos alterados com 3 adições e 3 exclusões
  1. 2
    1
      .github/workflows/deploy-pages.yml
  2. 1
    2
      package.json

+ 2
- 1
.github/workflows/deploy-pages.yml Ver arquivo

@@ -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

+ 1
- 2
package.json Ver arquivo

@@ -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"

Carregando…
Cancelar
Salvar