From f7c3800a142cc41a310920a8739bf5e991cb3d89 Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Wed, 2 Oct 2024 16:51:29 +0200 Subject: [PATCH] Properly use playwright with pnpm --- .github/workflows/functional-tests.yml | 4 ++-- .github/workflows/startup-tests.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/functional-tests.yml b/.github/workflows/functional-tests.yml index 671ad57186..5ba82a5c7b 100644 --- a/.github/workflows/functional-tests.yml +++ b/.github/workflows/functional-tests.yml @@ -61,7 +61,7 @@ jobs: pnpm i --frozen-lockfile - name: Install Playwright browser ${{ matrix.playwright-browser }} working-directory: ${{ env.frontend-directory }} - run: pnpx exec playwright install --with-deps ${{ matrix.playwright-browser }} + run: pnpm create playwright - name: Create frontend environment variables file working-directory: ${{ env.frontend-directory }} run: | @@ -163,7 +163,7 @@ jobs: run: make pre-build - name: Install Playwright Browsers working-directory: ${{ env.enterprise-frontend-build-directory }} - run: pnpx exec playwright install --with-deps + run: pnpm create playwright - name: Create frontend environment variables file working-directory: ${{ env.enterprise-frontend-build-directory }} run: | diff --git a/.github/workflows/startup-tests.yml b/.github/workflows/startup-tests.yml index e2c338c114..a33506952a 100644 --- a/.github/workflows/startup-tests.yml +++ b/.github/workflows/startup-tests.yml @@ -57,7 +57,7 @@ jobs: pnpm i --frozen-lockfile - name: Install Playwright Browsers working-directory: ${{ env.frontend-directory }} - run: pnpx exec playwright install --with-deps + run: pnpm create playwright - name: Create frontend environment variables file working-directory: ${{ env.frontend-directory }} run: | @@ -114,7 +114,7 @@ jobs: pnpm i --frozen-lockfile - name: Install Playwright Browsers working-directory: ${{ env.frontend-directory }} - run: pnpx exec playwright install --with-deps + run: pnpm create playwright - name: Build the Docker app run: docker compose -f docker-compose-build.yml up -d - name: Create backend environment variables file @@ -183,7 +183,7 @@ jobs: run: make pre-build - name: Install Playwright Browsers working-directory: ${{ env.enterprise-frontend-build-directory }} - run: pnpx exec playwright install --with-deps + run: pnpm create playwright - name: Create frontend environment variables file working-directory: ${{ env.enterprise-frontend-build-directory }} run: | @@ -242,7 +242,7 @@ jobs: run: make pre-build - name: Install Playwright Browsers working-directory: ${{ env.enterprise-frontend-build-directory }} - run: pnpx exec playwright install --with-deps + run: pnpm create playwright - name: Build the Docker app run: docker compose -f enterprise/docker-compose-build.yml up -d - name: Create backend environment variables file