File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88 steps :
99 - name : Checkout code
10- uses : actions/checkout@v4
10+ uses : actions/checkout@v6
1111
1212 - run : corepack enable
13- - uses : actions/setup-node@v4
13+ - uses : actions/setup-node@v6
1414 with :
15- node-version : 20
16- cache : ' pnpm'
15+ node-version : 24
16+ - name : Install corepack
17+ run : npm install -g corepack
18+ - name : Install package manager
19+ run : corepack install
1720
1821 - name : Install dependencies
19- run : pnpm i
22+ run : corepack pnpm install
2023
21- - run : pnpx pkg-pr-new publish
24+ - run : corepack pnpm dlx pkg-pr-new publish
Original file line number Diff line number Diff line change @@ -14,21 +14,24 @@ jobs:
1414 pull-requests : write
1515
1616 steps :
17- - uses : actions/checkout@v4
17+ - uses : actions/checkout@v6
1818
1919 - run : corepack enable
20- - uses : actions/setup-node@v4
20+ - uses : actions/setup-node@v6
2121 with :
22- node-version : 20
23- cache : ' pnpm'
22+ node-version : 24
23+ - name : Install corepack
24+ run : npm install -g corepack
25+ - name : Install package manager
26+ run : corepack install
2427
2528 - name : Install Dependencies
26- run : pnpm i
29+ run : corepack pnpm install
2730
2831 - name : Create Release Pull Request or Publish to npm
2932 uses : changesets/action@v1
3033 with :
31- publish : pnpm changeset publish
34+ publish : corepack pnpm changeset publish
3235 env :
3336 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3437 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments