Skip to content

Commit

Permalink
chore: add release automation
Browse files Browse the repository at this point in the history
  • Loading branch information
e-vasiltsov committed Nov 3, 2024
1 parent 5d301d7 commit 28886c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: NPM Release
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: npm run release --ci
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT_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 @@ -29,7 +29,7 @@
"format": "prettier --write ./src README.md",
"format:check": "prettier --check ./src README.md",
"prepare": "husky",
"release": "release-it"
"release": "release-it --ci"
},
"engines": {
"node": ">=16.17.0",
Expand Down

0 comments on commit 28886c6

Please sign in to comment.