We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a8d602 commit a0377f2Copy full SHA for a0377f2
1 file changed
.github/workflows/release.yml
@@ -341,9 +341,16 @@ jobs:
341
--verbose
342
343
- name: Verify published CLI
344
+ shell: bash
345
run: |
- npm exec --yes --package okcodes@${{ needs.preflight.outputs.version }} -- okcode --version
346
- npm exec --yes --package okcodes@${{ needs.preflight.outputs.version }} -- okcode --help >/dev/null
+ set -euo pipefail
347
+ tmpdir="$(mktemp -d)"
348
+ pushd "$tmpdir" >/dev/null
349
+ npm init -y >/dev/null 2>&1
350
+ npm install --no-save "okcodes@${{ needs.preflight.outputs.version }}" >/dev/null 2>&1
351
+ ./node_modules/.bin/okcode --version
352
+ ./node_modules/.bin/okcode --help >/dev/null
353
+ popd >/dev/null
354
355
release:
356
name: Publish GitHub Release
0 commit comments