File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 steps :
1414 - name : Checkout
1515 uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0
18+ token : ${{ secrets.GH_ADMIN_TOKEN }}
1619
1720 - name : Set up pnpm
1821 uses : pnpm/action-setup@v4
3639
3740 - name : Lint
3841 run : pnpm lint
42+
43+ - name : Release
44+ if : github.ref == 'refs/heads/main'
45+ run : pnpm release
46+ env :
47+ GITHUB_TOKEN : ${{ secrets.GH_ADMIN_TOKEN }}
Original file line number Diff line number Diff line change 1919 "lint" : " publint" ,
2020 "test" : " vitest" ,
2121 "bench" : " vitest bench" ,
22- "build" : " tsdown"
22+ "build" : " tsdown" ,
23+ "release" : " release publish"
2324 },
2425 "files" : [
2526 " ./build"
3738 "license" : " MIT" ,
3839 "homepage" : " https://github.com/mswjs/url" ,
3940 "devDependencies" : {
41+ "@ossjs/release" : " ^0.10.1" ,
4042 "@remix-run/route-pattern" : " ^0.19.0" ,
4143 "@types/node" : " ^25.5.0" ,
4244 "find-my-way" : " ^9.5.0" ,
You can’t perform that action at this time.
0 commit comments