Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
Fixed issue with publishing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugos68 committed Jul 9, 2024
1 parent df402c2 commit 85bee18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
id: changets
uses: changesets/action@v1
with:
publish: pnpm run build && pnpm run publish
publish: pnpm run ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@
"ci:format": "biome format",
"ci:lint": "biome lint",
"ci:check": "biome check",
"publish": "changeset publish"
"ci:publish": "pnpm run build && changeset publish"
},
"files": [
"dist"
],
"files": ["dist"],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down

0 comments on commit 85bee18

Please sign in to comment.