Skip to content

Commit

Permalink
fix: try fixing yml to publish release (#2)
Browse files Browse the repository at this point in the history
* fix: lock files, worflow and lint

fix: lock files

fix: worklfow

fix: worklfow

fix: lint

* fix: release.yml
  • Loading branch information
0xKurt authored Oct 21, 2023
1 parent 779266b commit 1125579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Test
run: npm run test:unit --if-present
- name: Release
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
if: github.event_name == 'pull_request' && github.event.pull_request.merged == true && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 1125579

Please sign in to comment.