File tree Expand file tree Collapse file tree 18 files changed +276
-127
lines changed
Expand file tree Collapse file tree 18 files changed +276
-127
lines changed Original file line number Diff line number Diff line change 2020 node-version : [16.x]
2121
2222 steps :
23- - uses : actions/checkout@v3
23+ - uses : actions/checkout@v4
2424 - name : Use Node.js ${{ matrix.node-version }}
2525 uses : actions/setup-node@v3
2626 with :
4444 node-version : [16.x]
4545
4646 steps :
47- - uses : actions/checkout@v3
47+ - uses : actions/checkout@v4
4848 - name : Use Node.js ${{ matrix.node-version }}
4949 uses : actions/setup-node@v3
5050 with :
Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 name : Check Tests
1313 steps :
14- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v4
1515 with :
1616 fetch-depth : 0
1717 - uses : testomatio/check-tests@master
Original file line number Diff line number Diff line change 1515
1616 steps :
1717 - name : Check out the repo
18- uses : actions/checkout@v3
18+ uses : actions/checkout@v4
1919
2020 - name : Use Node.js ${{ matrix.node-version }}
2121 uses : actions/setup-node@v3
Original file line number Diff line number Diff line change 1515
1616 steps :
1717 - name : Check out the repo with latest code
18- uses : actions/checkout@v3
18+ uses : actions/checkout@v4
1919 - name : Push latest to Docker Hub
2020 uses : docker/build-push-action@v4 # Info: https://github.com/docker/build-push-action/tree/releases/v1#tags
2121 with :
@@ -28,10 +28,10 @@ jobs:
2828
2929 - name : ' Get the current tag'
3030 id : currentTag
31- uses : actions/checkout@v3
31+ uses : actions/checkout@v4
3232 - run : git fetch --prune --unshallow && TAG=$(git describe --tags --abbrev=0) && echo $TAG && echo "TAG="$TAG >> "$GITHUB_ENV"
3333 - name : Check out the repo with tag
34- uses : actions/checkout@v3
34+ uses : actions/checkout@v4
3535 with :
3636 ref : ${{ env.TAG }}
3737
Original file line number Diff line number Diff line change 1515 matrix :
1616 node-version : [16.x]
1717 steps :
18- - uses : actions/checkout@v3
18+ - uses : actions/checkout@v4
1919 - name : Use Node.js ${{ matrix.node-version }}
2020 uses : actions/setup-node@v3
2121 with :
Original file line number Diff line number Diff line change 2323 node-version : [16.x]
2424
2525 steps :
26- - uses : actions/checkout@v3
26+ - uses : actions/checkout@v4
2727 - name : Use Node.js ${{ matrix.node-version }}
2828 uses : actions/setup-node@v3
2929 with :
Original file line number Diff line number Diff line change 1616jobs :
1717 build :
1818
19- runs-on : ubuntu-20 .04
19+ runs-on : ubuntu-22 .04
2020
2121 strategy :
2222 matrix :
23- node-version : [16 .x]
23+ node-version : [18 .x]
2424
2525 steps :
26- - uses : actions/checkout@v3
26+ - uses : actions/checkout@v4
2727 - name : Use Node.js ${{ matrix.node-version }}
2828 uses : actions/setup-node@v3
2929 with :
@@ -33,12 +33,14 @@ jobs:
3333 php-version : 7.4
3434 - name : npm install
3535 run : |
36- npm install --legacy-peer-deps
36+ npm install --legacy-peer-deps && npm i puppeteer
3737 env :
3838 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
3939 - name : start a server
4040 run : " php -S 127.0.0.1:8000 -t test/data/app &"
41+ - uses : browser-actions/setup-chrome@v1
42+ - run : chrome --version
4143 - name : run tests
42- run : " ./bin/codecept.js run -c test/acceptance/codecept.Puppeteer.js --grep @Puppeteer --debug"
44+ run : " ./bin/codecept.js run -c test/acceptance/codecept.Puppeteer.js --grep @Puppeteer --debug"
4345 - name : run unit tests
4446 run : ./node_modules/.bin/mocha test/helper/Puppeteer_test.js
Original file line number Diff line number Diff line change 1111jobs :
1212 build :
1313
14- runs-on : ubuntu-20 .04
14+ runs-on : ubuntu-22 .04
1515
1616 strategy :
1717 matrix :
18- node-version : [16 .x]
18+ node-version : [20 .x]
1919
2020 steps :
21- - uses : actions/checkout@v3
21+ - uses : actions/checkout@v4
2222 - name : Use Node.js ${{ matrix.node-version }}
2323 uses : actions/setup-node@v3
2424 with :
2525 node-version : ${{ matrix.node-version }}
26- - run : npm install --legacy-peer-deps
26+ - run : npm i --force
2727 env :
2828 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
2929 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true
Original file line number Diff line number Diff line change 2424 node-version : [16.x, 18.x]
2525
2626 steps :
27- - uses : actions/checkout@v3
27+ - uses : actions/checkout@v4
2828 - name : Use Node.js ${{ matrix.node-version }}
2929 uses : actions/setup-node@v3
3030 with :
Original file line number Diff line number Diff line change 2323
2424 steps :
2525 - run : docker run -d --net=host --shm-size=2g selenium/standalone-chrome:3.141.0
26- - uses : actions/checkout@v3
26+ - uses : actions/checkout@v4
2727 - name : Use Node.js ${{ matrix.node-version }}
2828 uses : actions/setup-node@v3
2929 with :
You can’t perform that action at this time.
0 commit comments