Skip to content

Commit e51c657

Browse files
authored
Merge pull request #333 from Developer-DAO/actually-release
2 parents ea4d41e + f264329 commit e51c657

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@ jobs:
2525

2626
- name: Create Release Pull Request
2727
uses: changesets/action@master
28+
with:
29+
publish: 'yarn release'
2830
env:
2931
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"postinstall": "preconstruct dev",
2222
"build-storybook": "build-storybook",
2323
"chromatic": "chromatic --exit-zero-on-changes",
24-
"publish:npm": "yarn build && yarn changeset publish",
2524
"docs:dev": "yarn workspace docs dev",
2625
"docs:build": "yarn workspace docs build",
27-
"docs:serve": "yarn workspace docs start"
26+
"docs:serve": "yarn workspace docs start",
27+
"release": "yarn build && changeset publish"
2828
},
2929
"dependencies": {
3030
"@babel/core": "^7.16.0",

0 commit comments

Comments
 (0)