diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 84f1e7f..63075bc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,8 +28,13 @@ jobs: with: node-version: 22 + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: latest + - name: Install dependencies - run: pnpm + run: pnpm install - name: Build website run: pnpm build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 772292c..09bcbe4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,6 +32,14 @@ jobs: with: node-version: 22 + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: latest + + - name: Install dependencies + run: pnpm install + - name: Get pnpm cache directory path id: pnpm-cache-dir-path run: echo "::set-output name=dir::$(pnpm cache dir)"