File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,17 @@ jobs:
51
51
with :
52
52
fetch-depth : 0
53
53
ref : ' main'
54
+ - uses : pnpm/action-setup@v4
54
55
- uses : actions/setup-node@v4
55
56
with :
56
57
node-version : 18
57
- - run : npm ci
58
+ cache : pnpm
59
+ - run : pnpm install --frozen-lockfile
58
60
- name : " Generate Explanation and Prep Changelogs"
59
61
id : explanation
60
62
run : |
61
63
set +e
62
- npx release-plan prepare 2> >(tee -a release-plan-stderr.txt >&2)
64
+ pnpm release-plan prepare 2> >(tee -a release-plan-stderr.txt >&2)
63
65
64
66
if [ $? -ne 0 ]; then
65
67
release_plan_output=$(cat release-plan-stderr.txt)
Original file line number Diff line number Diff line change @@ -28,14 +28,16 @@ jobs:
28
28
29
29
steps :
30
30
- uses : actions/checkout@v4
31
+ - uses : pnpm/action-setup@v4
31
32
- uses : actions/setup-node@v4
32
33
with :
33
34
node-version : 18
34
35
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
35
36
registry-url : ' https://registry.npmjs.org'
36
- - run : npm ci
37
+ cache : pnpm
38
+ - run : pnpm install --frozen-lockfile
37
39
- name : Publish to NPM
38
- run : npx release-plan publish --provenance
40
+ run : NPM_CONFIG_PROVENANCE=true pnpm release-plan publish
39
41
env :
40
42
GITHUB_AUTH : ${{ secrets.GITHUB_TOKEN }}
41
43
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments