File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,21 @@ jobs:
2222 fetch-depth : 0 # Important for changelog
2323 filter : blob:none # We don't need all blobs
2424
25- - run : corepack enable
25+ - uses : pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
26+ with :
27+ standalone : true
28+
2629 - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
2730 with :
2831 node-version-file : .node-version
2932 registry-url : https://registry.npmjs.org/
33+ cache : ' pnpm'
34+
3035 - run : pnpm install
3136
3237 - run : echo VERSION=${GITHUB_REF_NAME#v} >> $GITHUB_ENV
3338 - run : pnpm version ${VERSION}
39+
3440 - name : Generate changelog with git-cliff
3541 uses : tj-actions/git-cliff@75599f745633e29f99bd9e14a30865b7d2fcbe84 # v1.5.0
3642 with :
4046 - run : pnpm publish --access public
4147 env :
4248 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
49+
4350 - uses : ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0
4451 with :
4552 bodyFile : ' CHANGELOG.md'
Original file line number Diff line number Diff line change @@ -22,11 +22,14 @@ jobs:
2222 steps :
2323 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
25- - run : corepack enable
25+ - uses : pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
26+ with :
27+ standalone : true
2628
2729 - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
2830 with :
2931 node-version-file : .node-version
32+ cache : ' pnpm'
3033
3134 - run : pnpm install
3235
You can’t perform that action at this time.
0 commit comments