diff --git a/.github/workflows/e2e-client.yml b/.github/workflows/e2e-client.yml index ea243841..d42efe80 100644 --- a/.github/workflows/e2e-client.yml +++ b/.github/workflows/e2e-client.yml @@ -41,7 +41,6 @@ jobs: path: playwright-report/ retention-days: 30 env: - NEXT_PUBLIC_MAPBOX_API_TOKEN: ${{ secrets.NEXT_PUBLIC_MAPBOX_API_TOKEN }} # Recommended: pass the GitHub token lets this action correctly # determine the unique run id necessary to re-run the checks GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/client/.github/workflows/playwright.yml b/client/.github/workflows/playwright.yml index 124ec23d..9192e14c 100644 --- a/client/.github/workflows/playwright.yml +++ b/client/.github/workflows/playwright.yml @@ -13,6 +13,8 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 + - name: Changes Yarn version + run: corepack enable - name: Install dependencies run: yarn - name: Install Playwright Browsers diff --git a/client/package.json b/client/package.json index 6d953a2d..30ef52dd 100644 --- a/client/package.json +++ b/client/package.json @@ -10,7 +10,7 @@ "check-types": "tsc", "test": "playwright test", "test:ui": "playwright test --ui", - "preinstall": "cd .. && husky install client/.husky" + "postinstall": "cd .. && husky install client/.husky" }, "dependencies": { "@typescript-eslint/eslint-plugin": "6.7.3",