Skip to content

Commit

Permalink
ci: update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JDIZM committed Jul 28, 2024
1 parent ddb7770 commit 37dc13d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
needs: test-and-build
steps:
- uses: actions/checkout@v4
with:
# Fetch all history so we can switch back to the branch
fetch-depth: 0

- name: Switch to main branch
run: git checkout main

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 37dc13d

Please sign in to comment.