Skip to content

update run steps in the workflow file #3

update run steps in the workflow file

update run steps in the workflow file #3

name: PR and Merge Workflow
on:
pull_request:
branches:
- main
push:
branches:
- main
- auto-test
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: |
cd autotests
npm ci
- name: Run your tests
run: DEBUG=pw:api xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" npm test