File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 11name : release
22
3- permissions :
4- contents : write
3+ permissions : {}
54
65on :
76 push :
1110jobs :
1211 release :
1312 runs-on : ubuntu-latest
13+ concurrency :
14+ group : release
15+ permissions :
16+ contents : write
17+ id-token : write
1418 steps :
15- - uses : actions/checkout@v5
19+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1620 with :
1721 fetch-depth : 0
22+
1823 - run : corepack enable
19- - uses : actions/setup-node@v6
24+ - uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2025 with :
21- node-version : lts/-1
22- cache : pnpm
26+ node-version : latest
2327
2428 - name : 📦 Install dependencies
2529 run : pnpm install
2630
31+ - name : 🛠 Build project
32+ run : pnpm build
33+
34+ - name : 📦 Release
35+ run : pnpm publish --no-git-checks
36+
2737 - run : pnpm changelogithub
2838 env :
2939 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2626 "prepare" : " simple-git-hooks" ,
2727 "prepack" : " pnpm build" ,
2828 "prepublishOnly" : " pnpm lint && pnpm test" ,
29- "release" : " bumpp && pnpm publish " ,
29+ "release" : " bumpp" ,
3030 "test" : " pnpm test:unit && pnpm test:types" ,
3131 "test:unit" : " vitest" ,
3232 "test:types" : " tsc --noEmit && pnpm -r test:types"
You can’t perform that action at this time.
0 commit comments