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 11name : Release
22
33permissions :
4+ id-token : write
45 contents : write
56
67on :
@@ -15,10 +16,16 @@ jobs:
1516 - uses : actions/checkout@v5
1617 with :
1718 fetch-depth : 0
19+ - uses : pnpm/action-setup@v4
1820 - uses : actions/setup-node@v4
1921 with :
2022 node-version : lts/*
23+ cache : pnpm
2124
2225 - run : npx changelogithub
2326 env :
2427 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
28+
29+ - run : pnpm install --frozen-lockfile
30+ - run : npm install -g npm@latest
31+ - run : pnpm publish --no-git-checks --tag next
Original file line number Diff line number Diff line change 3636 "files" : [
3737 " dist"
3838 ],
39+ "publishConfig" : {
40+ "access" : " public" ,
41+ "tag" : " next"
42+ },
3943 "scripts" : {
4044 "build" : " tsdown" ,
4145 "build:site" : " run-s build docs:build" ,
4549 "lint" : " eslint" ,
4650 "prepare" : " husky" ,
4751 "prepublishOnly" : " pnpm run build" ,
48- "release" : " run-s release:check release:version release:publish " ,
52+ "release" : " run-s release:check release:version" ,
4953 "release:check" : " run-s lint typecheck test" ,
50- "release:publish" : " pnpm publish --tag next" ,
5154 "release:version" : " bumpp" ,
5255 "test" : " vitest" ,
5356 "typecheck" : " tsc --noEmit"
You can’t perform that action at this time.
0 commit comments