Skip to content

upd node version

upd node version #2

Workflow file for this run

name: Playwright Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Run Playwright tests in Docker
run: |
docker run --rm \
-v ${{ github.workspace }}:/work \
-w /work \
mcr.microsoft.com/playwright:v1.39.0-jammy \
/bin/bash -c "npx playwright install-deps && npx playwright test"