From 52e3d57140eec4ca103e9fb4350861f5662cba77 Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Wed, 16 Oct 2024 13:13:26 -0400 Subject: [PATCH] ci: fix test-e2e workflow Since it doesn't run on all PRs, I didn't notice it needed a slightly different config when I changed this in https://github.com/netlify/next-runtime/pull/2673. This workflow checks out next-runtime in one directory and next.js in another, so we need to specify a working directory. --- .github/workflows/test-e2e.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 7e07632b0b..39e1d48ee4 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -183,6 +183,7 @@ jobs: - name: Prepare Netlify CLI # Control netlify-cli as a regular dev dep but expose it globally for test fixtures to use run: npm install -g "netlify-cli@$(npm list --json --depth=0 netlify-cli | jq -r ".dependencies[\"netlify-cli\"].version")" + working-directory: ${{ env.runtime-path }} - name: Install Playwright Browsers run: npx playwright install --with-deps