Skip to content

Commit

Permalink
fixed github action wrongly interpreting release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Flammae committed Sep 28, 2023
1 parent 7415a50 commit ea42577
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Create Release Pull Request or Publish
uses: changesets/action@v1
with:
publish: pnpm run build && pnpm run release
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "pnpm run -r build",
"test": "pnpm run -r test",
"typecheck": "pnpm run -r typecheck",
"release": "changeset publish"
"release": "pnpm run build && changeset publish"
},
"keywords": [],
"license": "MIT",
Expand Down

0 comments on commit ea42577

Please sign in to comment.