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