Skip to content

Commit 1a4a85c

Browse files
authored
Fix latest npm release tagging for 2025-10 (#3671)
* fix latest npm release tagging. * add temporary `workflow_dispatch` for deploy workflow.
1 parent 7b5b4c7 commit 1a4a85c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Deploy
22

33
on:
4+
workflow_dispatch: # temporary for manual deployment
45
push:
56
branches:
67
# Stable version branches
@@ -46,12 +47,12 @@ jobs:
4647
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
4748

4849
- name: Set 'latest' NPM dist tag
49-
if: steps.changesets.outputs.published == 'true' && github.ref_name == vars.LATEST_STABLE_VERSION
50+
if: (steps.changesets.outputs.published == 'true' || github.event_name == 'workflow_dispatch') && github.ref_name == vars.LATEST_STABLE_VERSION
5051
env:
5152
PUBLISHED_PACKAGES: ${{ steps.changesets.outputs.publishedPackages }}
5253
run: |
5354
# Forces OIDC authentication for raw run commands
54-
echo "//registry.npmjs.org/:_authToken=" > ~/.npmrc
55+
echo "//registry.npmjs.org/:_authToken=" > "$HOME/.npmrc"
5556
5657
for pkg in $(echo "$PUBLISHED_PACKAGES" | jq -r '.[] | @base64'); do
5758
_jq() {

0 commit comments

Comments
 (0)