File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @prosemark/paste-rich-text ' : patch
3+ ' @prosemark/render-html ' : patch
4+ ' @prosemark/core ' : patch
5+ ---
6+
7+ Change CI process so that workspace dependencies are correcly resolved during publishing
Original file line number Diff line number Diff line change @@ -35,11 +35,14 @@ jobs:
3535 - name : Lint
3636 run : bun turbo lint -F "{packages/*}"
3737
38+ - name : Inject NPM Token
39+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
40+
3841 - name : Create Release Pull Request or Publish to npm
3942 id : changesets
4043 uses : changesets/action@v1
4144 with :
42- publish : bun changeset publish
45+ publish : bun turbo ci: publish -F "{packages/*}"
4346 env :
4447 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4548 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1818 "build" : " tsdown" ,
1919 "preview" : " vite preview" ,
2020 "lint" : " eslint --max-warnings=0" ,
21- "check-types" : " tsc"
21+ "check-types" : " tsc" ,
22+ "ci:publish" : " bun publish --tolerate-republish"
2223 },
2324 "dependencies" : {
2425 "@lezer/common" : " ^1.2.3" ,
Original file line number Diff line number Diff line change 1717 "dev" : " tsdown --watch" ,
1818 "build" : " tsdown" ,
1919 "lint" : " eslint --max-warnings=0" ,
20- "check-types" : " tsc"
20+ "check-types" : " tsc" ,
21+ "ci:publish" : " bun publish --tolerate-republish"
2122 },
2223 "keywords" : [],
2324 "author" : " " ,
Original file line number Diff line number Diff line change 1717 "dev" : " tsdown --watch" ,
1818 "build" : " tsdown" ,
1919 "lint" : " eslint --max-warnings=0" ,
20- "check-types" : " tsc"
20+ "check-types" : " tsc" ,
21+ "ci:publish" : " bun publish --tolerate-republish"
2122 },
2223 "keywords" : [],
2324 "author" : " " ,
Original file line number Diff line number Diff line change 1414 },
1515 "lint" : {
1616 "dependsOn" : [" ^lint" ]
17+ },
18+ "ci:publish" : {
19+ "dependsOn" : [" ^ci:publish" ]
1720 }
1821 }
1922}
You can’t perform that action at this time.
0 commit comments