Skip to content

Commit 38deb07

Browse files
committed
ci: switch to pnpm/action-setup@v3 for publish to github action
1 parent 1b61079 commit 38deb07

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/typedoc.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,20 @@ jobs:
1313
publish:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- name: Checkout code
17-
uses: actions/checkout@v1
18-
19-
- name: Setup Node.js
20-
uses: actions/setup-node@v1
16+
- uses: actions/checkout@v3
17+
- name: Setup pnpm
18+
uses: pnpm/action-setup@v3
2119
with:
22-
node-version: '16.x'
20+
version: 8
2321

2422
- name: Install dependencies
25-
run: npm install
23+
run: pnpm install
2624

2725
- name: Build
28-
run: npm run build
26+
run: pnpm run build
2927

3028
- name: Generate typedoc
31-
run: npm run docs
29+
run: pnpm run docs
3230

3331
- name: Publish to GitHub Pages
3432
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)