Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago Saife authored Jan 11, 2024
1 parent d6a1df4 commit 7475c63
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ name: Release

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

jobs:
release:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -22,5 +21,5 @@ jobs:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NODE_OAUTH_TOKEN }}
run: npx semantic-release@19.0.5 --branches main
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release --branches main

0 comments on commit 7475c63

Please sign in to comment.