From 641a85b03811a3ad2ce5fa1145d90a37a7709164 Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Mon, 16 Sep 2024 15:58:30 +0530 Subject: [PATCH] Swap dependency installation in CI The `npx playwright install --with-deps` command was producing this warning: ``` WARNING: It looks like you are running 'npx playwright install' without first installing your project's dependencies. ``` so this change addresses that by running `npm ci` before running `npx playwright install --with-deps`. Refs: https://github.com/RaisinTen/perftrace/actions/runs/10806970534/job/30191988723#step:4:7 Signed-off-by: Darshan Sen --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa47fdc..ca4f4f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,8 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - name: Install Playwright Browsers - run: npx playwright install --with-deps - name: Install dependencies run: npm ci + - name: Install Playwright Browsers + run: npx playwright install --with-deps - run: npm test