Skip to content

Commit

Permalink
[#356] Fix workflow for auto-deleted branches
Browse files Browse the repository at this point in the history
Fix workflow when branches are auto-deleted after merge (i.e. configuration of github)
  • Loading branch information
blcham authored Oct 2, 2024
1 parent a14c2e5 commit a03d1bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.merge_commit_sha }}

- name: Get short SHA
id: set_sha
Expand All @@ -37,6 +36,7 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org

- run: npm ci
- run: npm test
- run: npm run build
Expand Down

0 comments on commit a03d1bb

Please sign in to comment.