From f0a24305e1ff2b51308dfe2a126aee4fd69da2ed Mon Sep 17 00:00:00 2001 From: Daniel Villanueva Date: Wed, 15 Jan 2025 13:32:10 +0100 Subject: [PATCH] test(e2e): missing yarn install commands Signed-off-by: Daniel Villanueva --- .github/workflows/e2e-main.yml | 6 ++++-- .github/workflows/pr-check.yaml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e-main.yml b/.github/workflows/e2e-main.yml index cfbdc7e..567ab5c 100644 --- a/.github/workflows/e2e-main.yml +++ b/.github/workflows/e2e-main.yml @@ -145,11 +145,12 @@ jobs: tar -xf /tmp/sso_extension.tar -C tests/playwright/output/crc-tests-pd/plugins/ mv tests/playwright/output/crc-tests-pd/plugins/extension/ tests/playwright/output/crc-tests-pd/plugins/ssoextension - - name: Build OpenShift Local extension locally (MacOS) #from container file is not available yet + - name: Install & build OpenShift Local extension locally (MacOS) #from container file is not available yet if: matrix.os == 'macos-14' shell: bash working-directory: ./crc-extension run: | + yarn install --check-files # -- following https://github.com/crc-org/crc-extension/blob/main/oci/Containerfile.multistage -- # build extension yarn build @@ -159,11 +160,12 @@ jobs: # move necessary files there cp -R package.json LICENSE icon.png README.md dist tests/playwright/output/crc-tests-pd/plugins/crcextension - - name: Build OpenShift Local extension locally (Windows) #from container file is not available yet + - name: Install & build OpenShift Local extension locally (Windows) #from container file is not available yet if: matrix.os == 'windows-2022' working-directory: ./crc-extension shell: pwsh run: | + yarn install --check-files # -- following https://github.com/crc-org/crc-extension/blob/main/oci/Containerfile.multistage -- # build extension yarn build diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml index 0c828d4..8631140 100644 --- a/.github/workflows/pr-check.yaml +++ b/.github/workflows/pr-check.yaml @@ -224,11 +224,12 @@ jobs: tar -xf /tmp/sso_extension.tar -C tests/playwright/output/crc-tests-pd/plugins/ mv tests/playwright/output/crc-tests-pd/plugins/extension/ tests/playwright/output/crc-tests-pd/plugins/ssoextension - - name: Build OpenShift Local extension locally (MacOS) #from container file is not available yet + - name: Install & build OpenShift Local extension locally (MacOS) #from container file is not available yet if: matrix.os == 'macos-14' shell: bash working-directory: ./crc-extension run: | + yarn install --check-files # -- following https://github.com/crc-org/crc-extension/blob/main/oci/Containerfile.multistage -- # build extension yarn build @@ -238,11 +239,12 @@ jobs: # move necessary files there cp -R package.json LICENSE icon.png README.md dist tests/playwright/output/crc-tests-pd/plugins/crcextension - - name: Build OpenShift Local extension locally (Windows) #from container file is not available yet + - name: Install & build OpenShift Local extension locally (Windows) #from container file is not available yet if: matrix.os == 'windows-2022' working-directory: ./crc-extension shell: pwsh run: | + yarn install --check-files # -- following https://github.com/crc-org/crc-extension/blob/main/oci/Containerfile.multistage -- # build extension yarn build