From 38deb074eb6993fee754d3fd70b36ad6774eb32a Mon Sep 17 00:00:00 2001 From: Shibin Das Date: Sat, 30 Mar 2024 11:40:44 +0100 Subject: [PATCH] ci: switch to pnpm/action-setup@v3 for publish to github action --- .github/workflows/typedoc.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/typedoc.yml b/.github/workflows/typedoc.yml index 9770193..eba88aa 100644 --- a/.github/workflows/typedoc.yml +++ b/.github/workflows/typedoc.yml @@ -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