Skip to content

Commit

Permalink
build: add env variable to release stage, dry-run only
Browse files Browse the repository at this point in the history
  • Loading branch information
husa committed Aug 5, 2024
1 parent f0531cb commit 0cfd8e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ jobs:
- run: npm run lint
# - run: npm test
- run: npm run build
- run: npm run semantic-release

- run: npm run semantic-release --dry-run
if: github.ref == 'refs/heads/master' # only on master branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0cfd8e5

Please sign in to comment.