diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index c6132f07..683810fc 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -29,14 +29,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Setup PNPM + uses: pnpm/action-setup@v4 + - name: Use Node.js 20.x uses: useblacksmith/setup-node@v5 with: node-version: 20.x registry-url: "https://registry.npmjs.org" - - - name: Setup PNPM - uses: pnpm/action-setup@v4 + cache: "pnpm" - name: Install Dependencies run: pnpm install diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index d3182e0c..759cd238 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -19,14 +19,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Setup PNPM + uses: pnpm/action-setup@v4 + - name: Use Node.js ${{ matrix.node-version }} uses: useblacksmith/setup-node@v5 with: node-version: ${{ matrix.node-version }} registry-url: "https://registry.npmjs.org" - - - name: Setup PNPM - uses: pnpm/action-setup@v4 + cache: "pnpm" - name: Install Dependencies run: pnpm install @@ -61,14 +62,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Setup PNPM + uses: pnpm/action-setup@v4 + - name: Use Node.js ${{ matrix.node-version }} uses: useblacksmith/setup-node@v5 with: node-version: ${{ matrix.node-version }} registry-url: "https://registry.npmjs.org" - - - name: Setup PNPM - uses: pnpm/action-setup@v4 + cache: "pnpm" - name: Install Dependencies run: pnpm install @@ -105,14 +107,15 @@ jobs: with: token: ${{ secrets.NODE_CLI }} + - name: Setup PNPM + uses: pnpm/action-setup@v4 + - name: Use Node.js ${{ matrix.node-version }} uses: useblacksmith/setup-node@v5 with: node-version: ${{ matrix.node-version }} registry-url: "https://registry.npmjs.org" - - - name: Setup PNPM - uses: pnpm/action-setup@v4 + cache: "pnpm" - name: Install Dependencies run: pnpm install diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 9d7f597d..46ae3465 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -23,15 +23,16 @@ jobs: if: ${{ steps.release.outputs.releases_created }} uses: actions/checkout@v4 + - name: Setup PNPM + uses: pnpm/action-setup@v4 + - name: Setup Node uses: useblacksmith/setup-node@v5 if: ${{ steps.release.outputs.releases_created }} with: node-version: 20.x registry-url: "https://registry.npmjs.org" - - - name: Setup PNPM - uses: pnpm/action-setup@v4 + cache: "pnpm" - name: Install Dependencies run: pnpm install