Skip to content

Commit 24e5e72

Browse files
committed
use ubuntu latest
1 parent ce554a5 commit 24e5e72

File tree

10 files changed

+79
-82
lines changed

10 files changed

+79
-82
lines changed

.github/workflows/appium_Android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414

1515
jobs:
1616
appium:
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-latest
1818

1919
strategy:
2020
matrix:

.github/workflows/appium_iOS.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
appium:
1717
if: false
18-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-latest
1919

2020
strategy:
2121
matrix:

.github/workflows/check.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-latest
1212
name: Check Tests
1313
steps:
14-
- uses: actions/checkout@v4
15-
with:
16-
fetch-depth: 0
17-
- uses: testomatio/check-tests@stable
18-
if: github.repository == 'codeceptjs/CodeceptJS' && github.event.pull_request.title == '3.x'
19-
with:
20-
framework: mocha
21-
tests: "./test/**/*_test.js"
22-
token: ${{ secrets.GITHUB_TOKEN }}
23-
has-tests-label: true
24-
comment-on-empty: true
25-
github-pat: ${{ secrets.GH_PAT }}
26-
enable-documentation: true
27-
documentation-branch: "master"
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
- uses: testomatio/check-tests@stable
18+
if: github.repository == 'codeceptjs/CodeceptJS' && github.event.pull_request.title == '3.x'
19+
with:
20+
framework: mocha
21+
tests: './test/**/*_test.js'
22+
token: ${{ secrets.GITHUB_TOKEN }}
23+
has-tests-label: true
24+
comment-on-empty: true
25+
github-pat: ${{ secrets.GH_PAT }}
26+
enable-documentation: true
27+
documentation-branch: 'master'
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Close inactive issues
22
on:
33
schedule:
4-
- cron: "30 1 * * *"
4+
- cron: '30 1 * * *'
55

66
jobs:
77
close-issues:
8-
runs-on: ubuntu-22.04
8+
runs-on: ubuntu-latest
99
permissions:
1010
issues: write
1111
pull-requests: write
@@ -14,9 +14,9 @@ jobs:
1414
with:
1515
days-before-issue-stale: 90
1616
days-before-issue-close: 365
17-
stale-issue-label: "stale"
18-
stale-issue-message: "This issue is stale because it has been open for 90 days with no activity."
19-
close-issue-message: "Please reopen and send PR to fix it, as looks like our team could not fix it on our own"
17+
stale-issue-label: 'stale'
18+
stale-issue-message: 'This issue is stale because it has been open for 90 days with no activity.'
19+
close-issue-message: 'Please reopen and send PR to fix it, as looks like our team could not fix it on our own'
2020
days-before-pr-stale: -1
2121
days-before-pr-close: -1
2222
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/doc-generation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ on:
77

88
jobs:
99
update-documentation:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-latest
1111

1212
strategy:
1313
matrix:
14-
node-version: [ 20.x ]
14+
node-version: [20.x]
1515

1616
steps:
1717
- name: Check out the repo

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
push_to_registry:
1010
name: Build and push Docker image to Docker Hub
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-latest
1212
if: startsWith(github.event.ref_name, 'release-')
1313

1414
steps:

.github/workflows/dtslint.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ on:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
1616
node-version: [20.x]
1717
steps:
18-
- uses: actions/checkout@v4
19-
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v4
21-
with:
22-
node-version: ${{ matrix.node-version }}
23-
- run: npm i --force
24-
env:
25-
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
26-
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
27-
- run: npm run def
28-
- run: npm run dtslint
18+
- uses: actions/checkout@v4
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
- run: npm i --force
24+
env:
25+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
26+
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
27+
- run: npm run def
28+
- run: npm run dtslint

.github/workflows/puppeteer.yml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,31 @@ env:
1515

1616
jobs:
1717
build:
18-
19-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-latest
2019

2120
strategy:
2221
matrix:
2322
node-version: [20.x]
2423

2524
steps:
26-
- uses: actions/checkout@v4
27-
- name: Use Node.js ${{ matrix.node-version }}
28-
uses: actions/setup-node@v4
29-
with:
30-
node-version: ${{ matrix.node-version }}
31-
- uses: shivammathur/setup-php@v2
32-
with:
33-
php-version: 7.4
34-
- name: npm install
35-
run: |
36-
npm i --force && npm i puppeteer --force
37-
env:
38-
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
39-
- name: start a server
40-
run: "php -S 127.0.0.1:8000 -t test/data/app &"
41-
- uses: browser-actions/setup-chrome@v1
42-
- run: chrome --version
43-
- name: run tests
44-
run: "./bin/codecept.js run-workers 2 -c test/acceptance/codecept.Puppeteer.js --grep @Puppeteer --debug"
45-
- name: run unit tests
46-
run: ./node_modules/.bin/mocha test/helper/Puppeteer_test.js
25+
- uses: actions/checkout@v4
26+
- name: Use Node.js ${{ matrix.node-version }}
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: ${{ matrix.node-version }}
30+
- uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: 7.4
33+
- name: npm install
34+
run: |
35+
npm i --force && npm i puppeteer --force
36+
env:
37+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
38+
- name: start a server
39+
run: 'php -S 127.0.0.1:8000 -t test/data/app &'
40+
- uses: browser-actions/setup-chrome@v1
41+
- run: chrome --version
42+
- name: run tests
43+
run: './bin/codecept.js run-workers 2 -c test/acceptance/codecept.Puppeteer.js --grep @Puppeteer --debug'
44+
- name: run unit tests
45+
run: ./node_modules/.bin/mocha test/helper/Puppeteer_test.js

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
unit-tests:
1313
name: Unit tests
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-latest
1515

1616
strategy:
1717
matrix:

.github/workflows/testcafe.yml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,30 @@ env:
1313
# Force terminal colors. @see https://www.npmjs.com/package/colors
1414
FORCE_COLOR: 1
1515

16-
1716
jobs:
1817
build:
19-
20-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-latest
2119

2220
strategy:
2321
matrix:
2422
node-version: [20.x]
2523

2624
steps:
27-
- uses: actions/checkout@v4
28-
- name: Use Node.js ${{ matrix.node-version }}
29-
uses: actions/setup-node@v4
30-
with:
31-
node-version: ${{ matrix.node-version }}
32-
- uses: shivammathur/setup-php@v2
33-
with:
34-
php-version: 7.4
35-
- name: npm install
36-
run: |
37-
npm i --force
38-
env:
39-
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
40-
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
41-
- name: start a server
42-
run: "php -S 127.0.0.1:8000 -t test/data/app &"
43-
- name: run unit tests
44-
run: xvfb-run --server-args="-screen 0 1280x720x24" ./node_modules/.bin/mocha test/helper/TestCafe_test.js
25+
- uses: actions/checkout@v4
26+
- name: Use Node.js ${{ matrix.node-version }}
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: ${{ matrix.node-version }}
30+
- uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: 7.4
33+
- name: npm install
34+
run: |
35+
npm i --force
36+
env:
37+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
38+
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
39+
- name: start a server
40+
run: 'php -S 127.0.0.1:8000 -t test/data/app &'
41+
- name: run unit tests
42+
run: xvfb-run --server-args="-screen 0 1280x720x24" ./node_modules/.bin/mocha test/helper/TestCafe_test.js

0 commit comments

Comments
 (0)