ci: disable electron workspace by default (#1713)

This commit is contained in:
Himself65
2023-03-27 23:02:57 -05:00
committed by GitHub
parent 79fc59248f
commit 7fb5b1f65b
2 changed files with 8 additions and 2 deletions

View File

@@ -9,6 +9,10 @@ inputs:
description: 'Run the install step.'
required: false
default: 'true'
electron-workspace-install:
description: 'Run the install step for the electron workspace.'
required: false
default: 'false'
npm-token:
description: 'The NPM token to use for private packages.'
required: false
@@ -73,14 +77,14 @@ runs:
HUSKY: '0'
- name: yarn install (electron)
if: ${{ inputs.package-install == 'true' }}
if: ${{ inputs.electron-workspace-install == 'true' }}
shell: bash
run: yarn install ${{ inputs.extra-flags }}
working-directory: apps/electron
env:
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
YARN_ENABLE_GLOBAL_CACHE: 'false'
YARN_INSTALL_STATE_PATH: .yarn/ci-cache/install-state.gz
YARN_INSTALL_STATE_PATH: ../../.yarn/ci-cache/install-state.gz
HUSKY: '0'
- name: Get installed Playwright version