File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,15 +51,17 @@ jobs:
5151 with :
5252 fetch-depth : 0
5353 ref : ' main'
54+ - uses : pnpm/action-setup@v4
5455 - uses : actions/setup-node@v4
5556 with :
5657 node-version : 18
57- - run : npm ci
58+ cache : pnpm
59+ - run : pnpm install --frozen-lockfile
5860 - name : " Generate Explanation and Prep Changelogs"
5961 id : explanation
6062 run : |
6163 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)
6365
6466 if [ $? -ne 0 ]; then
6567 release_plan_output=$(cat release-plan-stderr.txt)
Original file line number Diff line number Diff line change @@ -28,14 +28,16 @@ jobs:
2828
2929 steps :
3030 - uses : actions/checkout@v4
31+ - uses : pnpm/action-setup@v4
3132 - uses : actions/setup-node@v4
3233 with :
3334 node-version : 18
3435 # This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
3536 registry-url : ' https://registry.npmjs.org'
36- - run : npm ci
37+ cache : pnpm
38+ - run : pnpm install --frozen-lockfile
3739 - name : Publish to NPM
38- run : npx release-plan publish --provenance
40+ run : NPM_CONFIG_PROVENANCE=true pnpm release-plan publish
3941 env :
4042 GITHUB_AUTH : ${{ secrets.GITHUB_TOKEN }}
4143 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments