diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index bdf273e..1ca77f2 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -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