From c4afcf5dabf97cee957c39b4270edf04924f23d7 Mon Sep 17 00:00:00 2001 From: Nicolas JUEN Date: Wed, 5 Jul 2023 15:57:54 +0200 Subject: [PATCH 1/2] fix(ci) Force using --frozen-lockfile for the yarn to let pass tests --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9952fc2..ca43547 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 - name: Install dependencies - run: yarn + run: yarn install --frozen-lockfile - name: Install playwright browsers run: npx playwright install --with-deps - name: Run tests From db26a52814f6d198e1d54b2342b74b3853d3cf79 Mon Sep 17 00:00:00 2001 From: Nicolas JUEN Date: Wed, 5 Jul 2023 16:21:34 +0200 Subject: [PATCH 2/2] fix(ci) Add env variable CI to the script --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ca43547..607aa1c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,4 +16,4 @@ jobs: - name: Install playwright browsers run: npx playwright install --with-deps - name: Run tests - run: npx playwright test \ No newline at end of file + run: ENV=CI npx playwright test \ No newline at end of file