File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : ' Setup'
2
- description : ' Setup Node.js and PNPM for Socket CLI '
2
+ description : ' Setup Node.js and pnpm with caching '
3
3
4
4
inputs :
5
5
node-version :
@@ -10,16 +10,17 @@ inputs:
10
10
runs :
11
11
using : ' composite'
12
12
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
19
14
uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
20
15
with :
21
16
version : ' ^10.16.0'
22
17
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
+
23
24
- name : Install dependencies
24
25
shell : bash
25
26
run : pnpm install
Original file line number Diff line number Diff line change 31
31
registry-url : ' https://registry.npmjs.org'
32
32
cache : pnpm
33
33
scope : ' @socketsecurity'
34
- - run : pnpm install --frozen-lockfile
34
+ - run : pnpm install
35
35
- run : INLINED_SOCKET_CLI_PUBLISHED_BUILD=1 pnpm run build:dist
36
36
- run : pnpm publish --provenance --access public
37
37
env :
You can’t perform that action at this time.
0 commit comments