Skip to content
name: Run 🎭 Nodejs πŸ“¦
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
playwright:
name: "Playwright Tests"
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.44.1-jammy
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: |
cd ./test/playwright/nodejs
yarn
- name: Run your tests
run: |
cd ./test/playwright/nodejs
yarn playwright test
env:
HOME: /root