File tree Expand file tree Collapse file tree 10 files changed +79
-82
lines changed Expand file tree Collapse file tree 10 files changed +79
-82
lines changed Original file line number Diff line number Diff line change 1414
1515jobs :
1616 appium :
17- runs-on : ubuntu-22.04
17+ runs-on : ubuntu-latest
1818
1919 strategy :
2020 matrix :
Original file line number Diff line number Diff line change 1515jobs :
1616 appium :
1717 if : false
18- runs-on : ubuntu-22.04
18+ runs-on : ubuntu-latest
1919
2020 strategy :
2121 matrix :
Original file line number Diff line number Diff line change 88
99jobs :
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'
Original file line number Diff line number Diff line change 11name : Close inactive issues
22on :
33 schedule :
4- - cron : " 30 1 * * *"
4+ - cron : ' 30 1 * * *'
55
66jobs :
77 close-issues :
8- runs-on : ubuntu-22.04
8+ runs-on : ubuntu-latest
99 permissions :
1010 issues : write
1111 pull-requests : write
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 }}
Original file line number Diff line number Diff line change 77
88jobs :
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
Original file line number Diff line number Diff line change 88jobs :
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 :
Original file line number Diff line number Diff line change 1010
1111jobs :
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
Original file line number Diff line number Diff line change 1515
1616jobs :
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
Original file line number Diff line number Diff line change 1111jobs :
1212 unit-tests :
1313 name : Unit tests
14- runs-on : ubuntu-22.04
14+ runs-on : ubuntu-latest
1515
1616 strategy :
1717 matrix :
Original file line number Diff line number Diff line change 1313 # Force terminal colors. @see https://www.npmjs.com/package/colors
1414 FORCE_COLOR : 1
1515
16-
1716jobs :
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
You can’t perform that action at this time.
0 commit comments