Skip to content

Commit

Permalink
ci: Remove build step for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
drewdecarme committed Nov 1, 2023
1 parent 762f832 commit e761b5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ jobs:
- name: Install dependencies
run: yarn --immutable

- name: Packages - build
run: yarn build

- name: Packages - version
- name: Packages - build & version
id: changesets
uses: changesets/action@v1
with:
Expand All @@ -45,6 +42,7 @@ jobs:
publish: yarn packages:publish # build and publish to npm
env:
GITHUB_TOKEN: ${{ secrets.FLARE_CITY_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.FLARE_CITY_NPM }}

- name: Packages - tag
# if: steps.changesets.outputs.hasChangesets == 'false'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "yarn turbo build --filter='!with-*'",
"packages:version": "yarn changeset version",
"packages:publish": "yarn workspaces foreach --all --no-private npm publish --access public",
"packages:publish": "yarn build && yarn workspaces foreach --all --no-private npm publish --access public",
"packages:tag": "yarn changeset tag"
},
"author": "Drew DeCarme",
Expand Down

0 comments on commit e761b5e

Please sign in to comment.