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 48
48
# https://github.com/changesets/action
49
49
uses : changesets/action@v1
50
50
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
53
51
commit : " chore: version packages"
54
52
env :
55
53
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -59,13 +59,13 @@ npx @changesets/cli status
59
59
### Manually version packages (done automatically in CI)
60
60
61
61
``` bash
62
- npm run changeset: version
62
+ npx @changesets/cli version
63
63
```
64
64
65
65
### Manually publish (done automatically in CI)
66
66
67
67
``` bash
68
- npm run changeset: release
68
+ npx @changesets/cli release
69
69
```
70
70
71
71
## Example Workflow
Original file line number Diff line number Diff line change 44
44
],
45
45
"scripts" : {
46
46
"build" : " microbundle" ,
47
- "changeset:release" : " npm run build && npx @changesets/cli publish" ,
48
47
"codestyle" : " prettier . --write" ,
49
48
"dev" : " microbundle watch" ,
50
49
"lint" : " npm-run-all --parallel lint:*" ,
You can’t perform that action at this time.
0 commit comments