diff --git a/.github/workflows/gh-page.yaml b/.github/workflows/gh-page.yaml index 22fd6f18e..b1425faed 100644 --- a/.github/workflows/gh-page.yaml +++ b/.github/workflows/gh-page.yaml @@ -27,15 +27,18 @@ jobs: fetch-depth: 0 path: './docs' + - uses: pnpm/action-setup@v4 + with: + version: 10 - uses: actions/setup-node@v4 with: node-version: 22.4.1 - cache: npm + cache: pnpm - name: Install dependencies - run: npm ci + run: pnpm install - name: Build website - run: npm run build + run: pnpm run build - name: Deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 883efb576..a15c67130 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -33,12 +33,15 @@ jobs: fetch-depth: 0 path: './docs' + - uses: pnpm/action-setup@v4 + with: + version: 10 - uses: actions/setup-node@v4 with: node-version: 22.4.1 - cache: npm + cache: pnpm - name: install dependencies - run: npm ci + run: pnpm install - name: build website - run: npm run build + run: pnpm run build