File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
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
5351 commit : " chore: version packages"
5452 env :
5553 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- npm run changeset: version
62+ npx @changesets/cli version
6363```
6464
6565### Manually publish (done automatically in CI)
6666
6767``` bash
68- npm run changeset: release
68+ npx @changesets/cli 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" ,
4847 "codestyle" : " prettier . --write" ,
4948 "dev" : " microbundle watch" ,
5049 "lint" : " npm-run-all --parallel lint:*" ,
You can’t perform that action at this time.
0 commit comments