Skip to content

Commit

Permalink
chore: update release.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
ademarCardoso committed Jan 11, 2024
1 parent 191cd1e commit 4b67d2b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: Release

on:
push:
branches:
- main
branches: [main]
pull_request:
branches: [main]

jobs:
release:
Expand All @@ -17,4 +18,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Release
run: npx semantic-release --gh-token="${{secrets.GITHUB_TOKEN}}" --npm-token="${{secrets.NPM_TOKEN}}" --branches main --debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx [email protected]

0 comments on commit 4b67d2b

Please sign in to comment.