Skip to content

Commit

Permalink
add workflow step to publish release canditate
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrun committed Apr 18, 2024
1 parent 924990c commit 80e02e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ jobs:
npm run test
shell: bash
- name: publish npm module
if: ${{ (github.ref == 'refs/heads/master') || (github.ref == 'refs/heads/rc') }}
if: github.ref == 'refs/heads/master'
run: |
npm publish
shell: bash
- name: publish release candidate to npm
if: github.ref == 'refs/heads/rc'
run: |
npm publish --tag rc
shell: bash

0 comments on commit 80e02e4

Please sign in to comment.