diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index 8de3193..d598ccd 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -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 diff --git a/.github/workflows/webdriver.yml b/.github/workflows/webdriver.yml index 4555adf..96b44bf 100644 --- a/.github/workflows/webdriver.yml +++ b/.github/workflows/webdriver.yml @@ -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 @@ -41,4 +41,6 @@ jobs: - run: sleep 5 - name: tests run: "npx codeceptjs run -c test/codecept.webdriver.conf.js --grep @WebDriver --debug" - + + + diff --git a/package.json b/package.json index a26c981..31919a3 100644 --- a/package.json +++ b/package.json @@ -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" } }