Skip to content

fix: Update deps and make ci work #35

fix: Update deps and make ci work

fix: Update deps and make ci work #35

Workflow file for this run

name: Puppeteer Mocking
on:
push:
branches:
- 'master'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: install required packages
run: |
sudo apt-get update
sudo apt-get install libgbm-dev libwoff1 libopus0 libwebp6 libwebpdemux2 libenchant1c2a libgudev-1.0-0 libsecret-1-0 libhyphen0 libgdk-pixbuf2.0-0 libegl1 libgles2 libevent-2.1-6 libnotify4 libxslt1.1
sudo apt-get install xvfb
sudo apt-get install php
- uses: actions/checkout@v3
with:
repository: codeceptjs/codeceptjs.git
path: codeceptjs
ref: '3.x'
- name: npm install
run: |
npm install
- name: start a server
run: "php -S 127.0.0.1:8000 -t codeceptjs/test/data/app &"
- name: run tests
run: "npx codeceptjs run -c test/codecept.puppeteer.conf.js --debug"