Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/puppeteer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,32 @@ name: Puppeteer Mocking
on:
push:
branches:
- master
- 'master'
pull_request:
branches:
- master
- '**'

jobs:
build:

runs-on: ubuntu-18.04
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
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@v2
- uses: actions/checkout@v3
with:
repository: codeceptjs/codeceptjs.git
path: codeceptjs
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/webdriver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ name: WebDriver Mocking
on:
push:
branches:
- master
- 'master'
pull_request:
branches:
- master
- '**'

jobs:
build:

runs-on: ubuntu-18.04
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: codeceptjs/codeceptjs.git
path: codeceptjs
ref: '3.x'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: docker run -d --net=host selenium/standalone-chrome
Expand All @@ -41,4 +41,6 @@ jobs:
- run: sleep 5
- name: tests
run: "npx codeceptjs run -c test/codecept.webdriver.conf.js --grep @WebDriver --debug"




12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"author": "Michael Bodnarchuk @davert",
"license": "ISC",
"devDependencies": {
"codeceptjs": "^3.1.3",
"codeceptjs": "^3.7.3",
"documentation": "^13.2.5",
"puppeteer": "^11.0.0",
"puppeteer": "^24.8.0",
"rimraf": "^3.0.2",
"webdriverio": "^7.16.5"
"webdriverio": "^9.12.5"
},
"dependencies": {
"@pollyjs/adapter-puppeteer": "^5.1.1",
"@pollyjs/core": "^5.1.1",
"@pollyjs/persister-fs": "^5.1.1"
"@pollyjs/adapter-puppeteer": "^6.0.6",
"@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6"
}
}
Loading