Skip to content

Commit

Permalink
Merge pull request #15 from mdirshaddev/feature/npm-publish-changeset…
Browse files Browse the repository at this point in the history
…-automation

fix(actions): 🪜 updated wrong command
  • Loading branch information
mdirshaddev authored Feb 19, 2024
2 parents ae71ea9 + 5e7ba98 commit 4be80c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/thirty-eyes-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@mdirshaddev/prettier-config": patch
---

npm publishing of package via changeset and github action automation
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
commit: 'Release ${{env.PACKAGE_NAME}}@${{env.VERSION}}'
createGithubReleases: true
setupGitUser: true
version: pnpm version
publish: pnpm release
version: pnpm changeset-version
publish: pnpm changeset-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 4be80c5

Please sign in to comment.