Update image to run playwright tests #76

Open
bustikiller wants to merge 1 commits from use-baked-playwright-image into main
Showing only changes of commit 54f345c9e5 - Show all commits

View File

@ -12,18 +12,19 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:latest
image: ${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ secrets.PRIVATE_REGISTRY_USERNAME }}/playwright-docker:latest
credentials:
username: ${{ secrets.PRIVATE_REGISTRY_USERNAME }}
password: ${{ secrets.PRIVATE_REGISTRY_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm install -g pnpm && pnpm install
run: pnpm install
- name: Build the service that will be tested
run: npm run build
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run the service that will be tested
run: npm run start &
- name: Run Playwright tests