Skip to content

Commit

Permalink
fix: docs CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed Jun 6, 2024
1 parent 85385dc commit a700903
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm # or pnpm / yarn
cache: pnpm # or pnpm / yarn
- name: Setup Pages
uses: actions/configure-pages@v4
# - name: Install dependencies
Expand All @@ -50,8 +50,8 @@ jobs:
- name: Build with Typedoc
# working-directory: ./docs
run: |
npm i
npx typedoc webview-src/index.ts
pnpm i
pnpx typedoc webview-src/index.ts
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand All @@ -68,4 +68,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@rollup/plugin-typescript": "^11.1.6",
"rollup": "^4.9.6",
"tslib": "^2.6.2",
"typedoc": "^0.25.13",
"typescript": "^5.3.3"
}
}
80 changes: 80 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a700903

Please sign in to comment.