Skip to content

Commit dd42c8f

Browse files
authored
refactor: simplification (#7)
* refactor: simplification * Update package.json * Update RELEASE_PROCESS.md
1 parent d8f2806 commit dd42c8f

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/workflows/changeset.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ jobs:
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 }}

docs/RELEASE_PROCESS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
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:*",

0 commit comments

Comments
 (0)