Confirm we can run the npm published CLI (#15007)

* Confirm we can run the npm published CLI

* Add comment
pull/15094/head
Oscar Hinton 11 months ago committed by GitHub
parent 9d743a7ee0
commit 685f7a0fd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -189,6 +189,21 @@ jobs:
path: apps/cli/dist/bw${{ matrix.license_type.artifact_prefix }}-${{ env.LOWER_RUNNER_OS }}${{ matrix.os.target_suffix }}-sha256-${{ env._PACKAGE_VERSION }}.txt
if-no-files-found: error
# We want to confirm the CLI is runnable using the dependencies defined in `apps/cli/package.json`.
- name: Remove node_modules (root)
run: rm -rf node_modules
working-directory: ./
- name: Remove package.json (root)
run: rm package.json
working-directory: ./
- name: Install (CLI)
run: npm i
- name: Output help
run: node ./build/bw.js --help
cli-windows:
name: Windows - ${{ matrix.license_type.readable }}
strategy:

Loading…
Cancel
Save