use container

This commit is contained in:
Niccolo Borgioli 2024-08-27 00:36:48 +02:00
parent 23446a4c74
commit d86ef79abd
3 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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"
}

2
pnpm-lock.yaml generated
View File

@ -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