Skip to content

Commit

Permalink
refactor: run release dry run on current Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns committed Oct 23, 2024
1 parent 10969eb commit 9e66c43
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ jobs:
- name: Test browsers
run: yarn test:browser

- name: Release dry-run
run: yarn release --dry-run --no-ci --branches "$GITHUB_HEAD_REF"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Switch to Node 20
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -100,12 +106,6 @@ jobs:
- name: Test Node 12
run: yarn test:nodejs

- name: Release dry-run
run: yarn release --dry-run --no-ci --branches "$GITHUB_HEAD_REF"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

release:
name: Semantic release
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 9e66c43

Please sign in to comment.