Skip to content

Commit

Permalink
fix: use build on action instead of package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardocbsr committed Sep 20, 2024
1 parent e096db4 commit be09cd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release-npm-changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@ jobs:
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
- name: Build packages
run: pnpm build:lib

- name: Create Release Pull Request or Publish to NPM
id: changesets
uses: FuelLabs/changesets-action@main
with:
publish: pnpm release
publish: pnpm changeset publish --tag next
commit: "ci(changesets): versioning packages"
title: "ci(changesets): versioning packages"
createGithubReleases: aggregate
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"node:stop": "make -C ./docker stop",
"node:restart": "make -C ./docker restart",
"prepare": "husky install",
"release": "pnpm build:lib && pnpm changeset publish --tag next",
"start": "pnpm turbo:run start",
"test": "pnpm turbo:run test",
"test:all": "run-p test test:e2e",
Expand Down

0 comments on commit be09cd4

Please sign in to comment.