Skip to content

Commit

Permalink
ci: fix test-e2e workflow (#2675)
Browse files Browse the repository at this point in the history
Since it doesn't run on all PRs, I didn't notice it needed a slightly different config when I
changed this in #2673.

This workflow checks out next-runtime in one directory and next.js in another, so we need to specify
a working directory.
  • Loading branch information
serhalp authored Oct 16, 2024
1 parent 8ab259a commit f05b54f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f05b54f

Please sign in to comment.