Skip to content

Commit 65a3767

Browse files
committed
Update actions
1 parent 17b61cc commit 65a3767

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/actions/setup/action.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'Setup'
2-
description: 'Setup Node.js and PNPM for Socket CLI'
2+
description: 'Setup Node.js and pnpm with caching'
33

44
inputs:
55
node-version:
@@ -10,16 +10,17 @@ inputs:
1010
runs:
1111
using: 'composite'
1212
steps:
13-
- name: Setup Node.js
14-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
15-
with:
16-
node-version: ${{ inputs.node-version }}
17-
18-
- name: Setup PNPM
13+
- name: Setup pnpm
1914
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2015
with:
2116
version: '^10.16.0'
2217

18+
- name: Setup Node.js with pnpm cache
19+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
20+
with:
21+
node-version: ${{ inputs.node-version }}
22+
cache: 'pnpm'
23+
2324
- name: Install dependencies
2425
shell: bash
2526
run: pnpm install

.github/workflows/provenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
registry-url: 'https://registry.npmjs.org'
3232
cache: pnpm
3333
scope: '@socketsecurity'
34-
- run: pnpm install --frozen-lockfile
34+
- run: pnpm install
3535
- run: INLINED_SOCKET_CLI_PUBLISHED_BUILD=1 pnpm run build:dist
3636
- run: pnpm publish --provenance --access public
3737
env:

0 commit comments

Comments
 (0)