ソースを参照

Remove docs from registry publish and prepare

master
Palash Bansal 3年前
コミット
b1f5725208
コミッターのメールアドレスに関連付けられたアカウントが存在しません
2個のファイルの変更3行の追加3行の削除
  1. 2
    1
      .github/workflows/deploy-pages.yml
  2. 1
    2
      package.json

+ 2
- 1
.github/workflows/deploy-pages.yml ファイルの表示

with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' 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: mkdir _site
- run: mv -t _site docs dist examples README.md LICENSE index.html - run: mv -t _site docs dist examples README.md LICENSE index.html
- name: Setup Pages - name: Setup Pages

+ 1
- 2
package.json ファイルの表示

"serve-docs": "ws -d docs -p 8080", "serve-docs": "ws -d docs -p 8080",
"serve": "ws -d . -p 9229", "serve": "ws -d . -p 9229",
"docs": "npx typedoc && markdown-to-html", "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": { "clean-package": {
"remove": [ "remove": [
"files": [ "files": [
"dist", "dist",
"src", "src",
"docs",
"examples", "examples",
"plugins", "plugins",
"tsconfig.json" "tsconfig.json"

読み込み中…
キャンセル
保存