Skip to content

Commit 8816ab9

Browse files
authored
fix: update npm-dev.yaml (#4781)
1 parent a2f5301 commit 8816ab9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/npm-dev.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ jobs:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2626
NPM_TAG: "beta"
27-
PR_NUMBER_AND_COMMIT_SHA: ${{ github.event.number }}-${{ github.event.pull_request.head.sha }}
27+
# Since this only runs on a merge into main, we can't use github.event.number
28+
# so we instead use the word "beta" and the PR merge commit SHA
29+
PR_NUMBER_AND_COMMIT_SHA: beta-${{ github.sha }}

0 commit comments

Comments
 (0)