File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 77 CI : true
88 PNPM_CACHE_FOLDER : .pnpm-store
99jobs :
10- version :
10+ release :
11+ name : Publish packages
1112 timeout-minutes : 15
1213 runs-on : ubuntu-latest
1314 steps :
1415 - name : checkout code repository
1516 uses : actions/checkout@v4
1617 with :
1718 fetch-depth : 0
19+
1820 - name : setup node.js
1921 uses : actions/setup-node@v4
2022 with :
2123 node-version : 20
24+
2225 - name : install pnpm
2326 run : npm i pnpm@latest -g
27+
2428 - name : Setup npmrc
2529 run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
30+
2631 - name : setup pnpm config
2732 run : pnpm config set store-dir $PNPM_CACHE_FOLDER
33+
2834 - name : install dependencies
2935 run : pnpm install --no-frozen-lockfile
36+
3037 - name : create and publish versions
3138 uses : changesets/action@v1
3239 with :
Original file line number Diff line number Diff line change 88 ],
99 "scripts" : {
1010 "build" : " turbo run build" ,
11- "ci:publish" : " pnpm publish --no-git-checks" ,
11+ "ci:publish" : " pnpm publish --no-git-checks -r " ,
1212 "dev" : " turbo run dev --parallel --no-cache" ,
1313 "prepublish" : " pnpm build" ,
1414 "release" : " pnpm changeset && pnpm changeset version" ,
You can’t perform that action at this time.
0 commit comments