From d86ef79abd83efe04a3a0e7c73fd45107b199604 Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Tue, 27 Aug 2024 00:36:48 +0200 Subject: [PATCH] use container --- .github/workflows/test.yaml | 3 ++- package.json | 4 ++-- pnpm-lock.yaml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4cc2895..a390e76 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,6 +9,8 @@ on: jobs: test: runs-on: ubuntu-latest + container: + image: mcr.microsoft.com/playwright:v1.46.1 steps: - uses: actions/checkout@v4 @@ -28,7 +30,6 @@ jobs: - name: Prepare run: | pnpm install - pnpm exec playwright install --with-deps pnpm run test:prepare - name: Run your tests diff --git a/package.json b/package.json index 228df77..938f5f3 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,10 @@ "build": "pnpm run --recursive --filter=!@cryptgeon/backend build" }, "devDependencies": { - "@playwright/test": "^1.46.1", + "@playwright/test": "1.46.1", "@types/node": "^22.5.0", "npm-run-all": "^4.1.5", "shelljs": "^0.8.5" }, - "packageManager": "pnpm@9.8.0" + "packageManager": "pnpm@9.9.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a518c31..50e309f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,7 +9,7 @@ importers: .: devDependencies: '@playwright/test': - specifier: ^1.46.1 + specifier: 1.46.1 version: 1.46.1 '@types/node': specifier: ^22.5.0