From 1febee6a47c0e2c8a9c8e40e0df2f35a97956a57 Mon Sep 17 00:00:00 2001 From: Lukas Holzer Date: Fri, 9 Aug 2024 17:52:50 +0200 Subject: [PATCH] chore: update --- .circleci/config.yml | 4 ++-- .github/workflows/e2e.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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