Build all before releasing

This commit is contained in:
Nathan Bierema 2022-01-30 18:38:03 -05:00
parent b725a3af51
commit c283d4272f
2 changed files with 3 additions and 2 deletions

View File

@ -30,7 +30,7 @@ jobs:
uses: changesets/action@v1 uses: changesets/action@v1
with: with:
version: yarn changeset version version: yarn changeset version
publish: yarn changeset publish publish: yarn release
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@ -21,7 +21,8 @@
"build:all": "lerna run build", "build:all": "lerna run build",
"lint:all": "lerna run lint", "lint:all": "lerna run lint",
"test:all": "lerna run test", "test:all": "lerna run test",
"format:check": "prettier --check ." "format:check": "prettier --check .",
"release": "yarn build:all && changeset publish"
}, },
"workspaces": [ "workspaces": [
"extension", "extension",