Commit ae120f9a authored by Georgios Konstantopoulos's avatar Georgios Konstantopoulos Committed by GitHub

ci: publish npm packages on release (#448)

parent 5bdca4c4
...@@ -26,5 +26,8 @@ jobs: ...@@ -26,5 +26,8 @@ jobs:
- name: Create Release Pull Request - name: Create Release Pull Request
uses: changesets/action@master uses: changesets/action@master
with:
publish: yarn release
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
"lint": "yarn lerna run lint", "lint": "yarn lerna run lint",
"lint:ci": "yarn lerna run lint --parallel --since origin/master", "lint:ci": "yarn lerna run lint --parallel --since origin/master",
"lint:fix": "yarn lerna run lint:fix", "lint:fix": "yarn lerna run lint:fix",
"post-install": "patch-package" "post-install": "patch-package",
"release": "yarn build && yarn changeset publish"
}, },
"dependencies": { "dependencies": {
"@changesets/cli": "^2.16.0" "@changesets/cli": "^2.16.0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment