From cb6e970bb65ed05c72a9c9ad49bb967b43729abc Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Sat, 17 Feb 2024 02:55:11 +0100 Subject: [PATCH] Upgraded github action manifest --- .github/workflows/run-tests.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index eed9e78..4fc5b1c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -21,10 +21,17 @@ jobs: with: node-version-file: .nvmrc check-latest: true + cache: "pnpm" + - uses: pnpm/action-setup@v3 + with: + version: 8 + - name: Install dependencies + run: | + pnpm install + pnpm dlx playwright install --with-deps + - name: Building and running tests - run: | - npm ci - npm run build - npx playwright install --with-deps - npm run test + pnpm build + pnpm test cd packages/captions-renderer - npm run test:e2e + pnpm test:e2e