Skip to content

Commit

Permalink
ci: switch to pnpm/action-setup@v3 for publish to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
d34dman committed Mar 30, 2024
1 parent 1b61079 commit 38deb07
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/typedoc.yml
Expand Up @@ -13,22 +13,20 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1

- name: Setup Node.js
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
node-version: '16.x'
version: 8

- name: Install dependencies
run: npm install
run: pnpm install

- name: Build
run: npm run build
run: pnpm run build

- name: Generate typedoc
run: npm run docs
run: pnpm run docs

- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 38deb07

Please sign in to comment.