Skip to content

Commit 92abef4

Browse files
committed
Use pnpm dlx for pnpm workflow
1 parent 44483d6 commit 92abef4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/actions/setup/action.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ runs:
2121
node-version: ${{ inputs.node-version }}
2222
cache: 'pnpm'
2323

24-
- name: Install Socket CLI
24+
- name: Install dependencies
2525
shell: bash
26-
run: pnpm add -g @socketsecurity/cli
27-
28-
- name: Install dependencies with `socket pnpm`
29-
shell: bash
30-
run: socket pnpm install --config '{"issueRules":{"malware":true}}'
26+
run: |
27+
pnpm dlx @socketsecurity/cli pnpm install --config '{"issueRules":{"malware":true}}'

0 commit comments

Comments
 (0)