diff --git a/.circleci/config.yml b/.circleci/config.yml index f615dc7e2e..e1b3586869 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -129,7 +129,7 @@ jobs: - image: cimg/node:22.5.1 steps: - checkout - - run: npm install -g @netlify/e2e@1.0.0-rc.2 + - run: npm install @netlify/e2e@1.0.0-rc.2 - run: name: Create Remlink Config command: node ./tools/create-remlink.config.js @@ -142,7 +142,7 @@ jobs: output=$(netlify-e2e build-image ./remlink.config.json) pipelineId=$(echo $output | jq -r '.pipelineId') testImageTag=$(echo $output | jq -r '.tag') - workingDir="$(npm root -g)/@netlify/e2e" + workingDir="node_modules/@netlify/e2e" echo "export pipelineId=$pipelineId" >> $BASH_ENV echo "export testImageTag=$testImageTag" >> $BASH_ENV echo "export workingDir=$workingDir" >> $BASH_ENV diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 3fc8f84c1f..022ee14edd 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -33,4 +33,4 @@ jobs: - run: | cd ${{ env.workingDir}} ls -lah - npx playwright exec + pnpm run e2e