From 0d5086a8a78f21927d9ff1eb4d3301a11da251e4 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Sun, 9 Feb 2025 14:44:54 +0100 Subject: [PATCH] ci: use `pnpm/action-setup` action --- .forgejo/actions/setup-node/action.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.forgejo/actions/setup-node/action.yml b/.forgejo/actions/setup-node/action.yml index 294ba03..5e74305 100644 --- a/.forgejo/actions/setup-node/action.yml +++ b/.forgejo/actions/setup-node/action.yml @@ -5,11 +5,15 @@ description: 'setup node' runs: using: 'composite' steps: + - name: Setup pnpm + uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 + with: + standalone: true + - uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 with: node-version-file: .node-version - # cache: 'npm' - - shell: bash - run: corepack enable + cache: 'pnpm' + - shell: bash run: pnpm install --frozen-lockfile