Skip to content

Commit 41f6b50

Browse files
committed
Fix the "bad substitution" error on CI
1 parent 970860a commit 41f6b50

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/canary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
- name: Verify dist-tags (next)
8787
if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.dry_run) }}
8888
run: |
89-
node -e "
89+
node - <<'NODE'
9090
const { execSync } = require('child_process');
9191
const versions = JSON.parse(process.env.VERSIONS || '{}');
9292
const pkgs = ['extension','extension-create','extension-develop'];
@@ -100,7 +100,7 @@ jobs:
100100
}
101101
}
102102
console.log('Next dist-tags verified.');
103-
"
103+
NODE
104104
env:
105105
VERSIONS: ${{ steps.versions.outputs.versions }}
106106

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Verify dist-tags (stable tag)
5959
if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.dry_run) }}
6060
run: |
61-
node -e "
61+
node - <<'NODE'
6262
const { execSync } = require('child_process');
6363
const versions = JSON.parse(process.env.VERSIONS || '{}');
6464
const pkgs = ['extension','extension-create','extension-develop'];
@@ -72,7 +72,7 @@ jobs:
7272
}
7373
}
7474
console.log('Stable tag dist-tags verified.');
75-
"
75+
NODE
7676
env:
7777
VERSIONS: ${{ steps.versions.outputs.versions }}
7878

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
- name: Verify dist-tags (stable)
9191
if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.dry_run) && steps.changesets.outputs.published == 'true' }}
9292
run: |
93-
node -e "
93+
node - <<'NODE'
9494
const { execSync } = require('child_process');
9595
const versions = JSON.parse(process.env.VERSIONS || '{}');
9696
const pkgs = ['extension','extension-create','extension-develop'];
@@ -104,7 +104,7 @@ jobs:
104104
}
105105
}
106106
console.log('Stable dist-tags verified.');
107-
"
107+
NODE
108108
env:
109109
VERSIONS: ${{ steps.versions.outputs.versions }}
110110

0 commit comments

Comments
 (0)