File tree Expand file tree Collapse file tree 1 file changed +22
-23
lines changed Expand file tree Collapse file tree 1 file changed +22
-23
lines changed Original file line number Diff line number Diff line change 1515
1616jobs :
1717 build :
18-
1918 runs-on : ubuntu-22.04
2019
2120 strategy :
2221 matrix :
23- node-version : [20 .x]
22+ node-version : [22 .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
You can’t perform that action at this time.
0 commit comments