File tree Expand file tree Collapse file tree 6 files changed +19
-9754
lines changed
Expand file tree Collapse file tree 6 files changed +19
-9754
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,13 @@ runs:
2626 # #############
2727 # Node
2828 # #############
29- # pnpm is used by release-plan (accidentally?)
3029 - uses : pnpm/action-setup@v4
31- with :
32- version : 10
3330
3431 - uses : actions/setup-node@v4
3532 with :
3633 node-version : 18
37- cache : " npm "
34+ cache : " pnpm "
3835
3936 - name : Install node dependencies
4037 shell : " bash"
41- run : npm ci
38+ run : pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change 2929 run : ./build.sh
3030
3131 - name : Node Tests
32- run : npm test
32+ run : pnpm test
3333
34- - run : npm run lint:format:js
35- - run : npm run lint:package
36- - run : npm run lint:published-types
34+ - run : pnpm run lint:format:js
35+ - run : pnpm run lint:package
36+ - run : pnpm run lint:published-types
Original file line number Diff line number Diff line change @@ -46,18 +46,21 @@ jobs:
4646 # lerna-changelog can discover what's changed since the last release
4747 with :
4848 fetch-depth : 0
49+ - uses : pnpm/action-setup@v4
50+
4951 - uses : actions/setup-node@v4
5052 with :
5153 node-version : 18
52-
53- - run : npm ci
54-
54+ cache : " pnpm"
55+
56+ - run : pnpm install --frozen-lockfile
57+
5558 - name : " Generate Explanation and Prep Changelogs"
5659 id : explanation
5760 run : |
5861 set -x
59-
60- npx release-plan prepare --single-package=content-tag
62+
63+ pnpm exec release-plan prepare --single-package=content-tag
6164
6265 echo 'text<<EOF' >> $GITHUB_OUTPUT
6366 jq .description .release-plan.json -r >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 4848 registry-url : ' https://registry.npmjs.org'
4949 - uses : ./.github/actions/setup
5050
51- - name : npm publish
52- run : npx release-plan publish
51+ - name : Publish to npm
52+ run : pnpm exec release-plan publish
5353
5454 env :
5555 GITHUB_AUTH : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments