File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4848 # https://github.com/changesets/action
4949 uses : changesets/action@v1
5050 with :
51+ # this expects you to have a script called release which does a build for your packages and calls changeset publish
52+ publish : npm run changeset:release
5153 commit : " chore: version packages"
5254 env :
5355 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -59,13 +59,13 @@ npx @changesets/cli status
5959### Manually version packages (done automatically in CI)
6060
6161``` bash
62- npx @changesets/cli version
62+ npm run changeset: version
6363```
6464
6565### Manually publish (done automatically in CI)
6666
6767``` bash
68- npx @changesets/cli release
68+ npm run changeset: release
6969```
7070
7171## Example Workflow
Original file line number Diff line number Diff line change 4444 ],
4545 "scripts" : {
4646 "build" : " microbundle" ,
47+ "changeset:release" : " npm run build && npx @changesets/cli publish" ,
4748 "codestyle" : " prettier . --write" ,
4849 "dev" : " microbundle watch" ,
4950 "lint" : " npm-run-all --parallel lint:*" ,
You can’t perform that action at this time.
0 commit comments