From 781fc6142c152cc7bf8383e9ade6545eff323508 Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Thu, 27 Apr 2023 06:44:21 +0200 Subject: [PATCH 1/3] feat(ci): tune workflows --- .github/workflows/appium.yml | 8 ++++---- .github/workflows/dtslint.yml | 6 +++--- .github/workflows/playwright.yml | 4 ++-- .github/workflows/puppeteer.yml | 6 +++--- .github/workflows/test.yml | 6 +++--- .github/workflows/testcafe.yml | 6 +++--- .github/workflows/webdriver.yml | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/appium.yml b/.github/workflows/appium.yml index 793a254da..a13cc1fd1 100644 --- a/.github/workflows/appium.yml +++ b/.github/workflows/appium.yml @@ -17,10 +17,10 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: @@ -41,10 +41,10 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: diff --git a/.github/workflows/dtslint.yml b/.github/workflows/dtslint.yml index 1a4268826..511613e13 100644 --- a/.github/workflows/dtslint.yml +++ b/.github/workflows/dtslint.yml @@ -10,12 +10,12 @@ on: jobs: test: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index ba7355fca..417969a59 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -20,10 +20,10 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index f0e8e330c..12efe607e 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -16,14 +16,14 @@ env: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 20221114b..a4ab84271 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,14 +11,14 @@ on: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: diff --git a/.github/workflows/testcafe.yml b/.github/workflows/testcafe.yml index 4c31a9927..00d3a1adf 100644 --- a/.github/workflows/testcafe.yml +++ b/.github/workflows/testcafe.yml @@ -17,14 +17,14 @@ env: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: diff --git a/.github/workflows/webdriver.yml b/.github/workflows/webdriver.yml index 5fba8046f..2d3937b9b 100644 --- a/.github/workflows/webdriver.yml +++ b/.github/workflows/webdriver.yml @@ -16,15 +16,15 @@ env: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - run: docker run -d --net=host --shm-size=2g selenium/standalone-chrome:3.141.59-oxygen - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: From efc0e2eccf3cf26a189a553ec313470406aa405e Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Thu, 27 Apr 2023 07:52:44 +0200 Subject: [PATCH 2/3] feat(ci): tune workflows --- .github/workflows/appium.yml | 4 ++-- .github/workflows/check.yml | 2 +- .github/workflows/dtslint.yml | 2 +- .github/workflows/playwright.yml | 2 +- .github/workflows/puppeteer.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/testcafe.yml | 2 +- .github/workflows/webdriver.yml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/appium.yml b/.github/workflows/appium.yml index a13cc1fd1..ace432c9a 100644 --- a/.github/workflows/appium.yml +++ b/.github/workflows/appium.yml @@ -22,7 +22,7 @@ jobs: steps: - 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 }} - run: npm install @@ -46,7 +46,7 @@ jobs: steps: - 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 }} - run: npm install diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c3b5a0b07..e5ccc6d8f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest name: Check Tests steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: testomatio/check-tests@master diff --git a/.github/workflows/dtslint.yml b/.github/workflows/dtslint.yml index 511613e13..39e4d17cc 100644 --- a/.github/workflows/dtslint.yml +++ b/.github/workflows/dtslint.yml @@ -17,7 +17,7 @@ jobs: steps: - 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 }} - run: npm install diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 417969a59..aaf614c0c 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -25,7 +25,7 @@ jobs: steps: - 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 }} - uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index 12efe607e..ef81d248d 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -25,7 +25,7 @@ jobs: steps: - 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 }} - uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a4ab84271..ca011cc00 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: steps: - 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 }} - run: npm install diff --git a/.github/workflows/testcafe.yml b/.github/workflows/testcafe.yml index 00d3a1adf..0bb92bded 100644 --- a/.github/workflows/testcafe.yml +++ b/.github/workflows/testcafe.yml @@ -26,7 +26,7 @@ jobs: steps: - 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 }} - uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/webdriver.yml b/.github/workflows/webdriver.yml index 2d3937b9b..a01cbd296 100644 --- a/.github/workflows/webdriver.yml +++ b/.github/workflows/webdriver.yml @@ -26,7 +26,7 @@ jobs: - run: docker run -d --net=host --shm-size=2g selenium/standalone-chrome:3.141.59-oxygen - 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 }} - uses: shivammathur/setup-php@v2 From e04eed006d6b8f3bc6414931d26f73f85653bcfb Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Thu, 27 Apr 2023 07:58:00 +0200 Subject: [PATCH 3/3] feat(ci): tune workflows --- .github/workflows/appium.yml | 2 +- .github/workflows/dtslint.yml | 2 +- .github/workflows/playwright.yml | 2 +- .github/workflows/puppeteer.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/testcafe.yml | 2 +- .github/workflows/webdriver.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/appium.yml b/.github/workflows/appium.yml index ace432c9a..3b8623997 100644 --- a/.github/workflows/appium.yml +++ b/.github/workflows/appium.yml @@ -25,7 +25,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm install + - run: npm install --legacy-peer-deps env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true diff --git a/.github/workflows/dtslint.yml b/.github/workflows/dtslint.yml index 39e4d17cc..ab7b34747 100644 --- a/.github/workflows/dtslint.yml +++ b/.github/workflows/dtslint.yml @@ -20,7 +20,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm install + - run: npm install --legacy-peer-deps env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index aaf614c0c..f393a4d0d 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -33,7 +33,7 @@ jobs: php-version: 7.4 - name: npm install run: | - npm install + npm install --legacy-peer-deps env: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true - name: Install deps diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index ef81d248d..82cc19ebd 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -33,7 +33,7 @@ jobs: php-version: 7.4 - name: npm install run: | - npm install + npm install --legacy-peer-deps env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true - name: start a server diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca011cc00..82f006b8b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm install + - run: npm install --legacy-peer-deps env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true diff --git a/.github/workflows/testcafe.yml b/.github/workflows/testcafe.yml index 0bb92bded..2770bb3c5 100644 --- a/.github/workflows/testcafe.yml +++ b/.github/workflows/testcafe.yml @@ -34,7 +34,7 @@ jobs: php-version: 7.4 - name: npm install run: | - npm install + npm install --legacy-peer-deps env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true diff --git a/.github/workflows/webdriver.yml b/.github/workflows/webdriver.yml index a01cbd296..aef9642fd 100644 --- a/.github/workflows/webdriver.yml +++ b/.github/workflows/webdriver.yml @@ -34,7 +34,7 @@ jobs: php-version: 7.4 - name: npm install run: | - npm install + npm install --legacy-peer-deps env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true