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 20
20
node-version : [16.x]
21
21
22
22
steps :
23
- - uses : actions/checkout@v3
23
+ - uses : actions/checkout@v4
24
24
- name : Use Node.js ${{ matrix.node-version }}
25
25
uses : actions/setup-node@v3
26
26
with :
44
44
node-version : [16.x]
45
45
46
46
steps :
47
- - uses : actions/checkout@v3
47
+ - uses : actions/checkout@v4
48
48
- name : Use Node.js ${{ matrix.node-version }}
49
49
uses : actions/setup-node@v3
50
50
with :
Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
name : Check Tests
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
with :
16
16
fetch-depth : 0
17
17
- uses : testomatio/check-tests@master
Original file line number Diff line number Diff line change 15
15
16
16
steps :
17
17
- name : Check out the repo
18
- uses : actions/checkout@v3
18
+ uses : actions/checkout@v4
19
19
20
20
- name : Use Node.js ${{ matrix.node-version }}
21
21
uses : actions/setup-node@v3
Original file line number Diff line number Diff line change 15
15
16
16
steps :
17
17
- name : Check out the repo with latest code
18
- uses : actions/checkout@v3
18
+ uses : actions/checkout@v4
19
19
- name : Push latest to Docker Hub
20
20
uses : docker/build-push-action@v4 # Info: https://github.com/docker/build-push-action/tree/releases/v1#tags
21
21
with :
@@ -28,10 +28,10 @@ jobs:
28
28
29
29
- name : ' Get the current tag'
30
30
id : currentTag
31
- uses : actions/checkout@v3
31
+ uses : actions/checkout@v4
32
32
- run : git fetch --prune --unshallow && TAG=$(git describe --tags --abbrev=0) && echo $TAG && echo "TAG="$TAG >> "$GITHUB_ENV"
33
33
- name : Check out the repo with tag
34
- uses : actions/checkout@v3
34
+ uses : actions/checkout@v4
35
35
with :
36
36
ref : ${{ env.TAG }}
37
37
Original file line number Diff line number Diff line change 15
15
matrix :
16
16
node-version : [16.x]
17
17
steps :
18
- - uses : actions/checkout@v3
18
+ - uses : actions/checkout@v4
19
19
- name : Use Node.js ${{ matrix.node-version }}
20
20
uses : actions/setup-node@v3
21
21
with :
Original file line number Diff line number Diff line change 23
23
node-version : [16.x]
24
24
25
25
steps :
26
- - uses : actions/checkout@v3
26
+ - uses : actions/checkout@v4
27
27
- name : Use Node.js ${{ matrix.node-version }}
28
28
uses : actions/setup-node@v3
29
29
with :
Original file line number Diff line number Diff line change 16
16
jobs :
17
17
build :
18
18
19
- runs-on : ubuntu-20 .04
19
+ runs-on : ubuntu-22 .04
20
20
21
21
strategy :
22
22
matrix :
23
- node-version : [16 .x]
23
+ node-version : [18 .x]
24
24
25
25
steps :
26
- - uses : actions/checkout@v3
26
+ - uses : actions/checkout@v4
27
27
- name : Use Node.js ${{ matrix.node-version }}
28
28
uses : actions/setup-node@v3
29
29
with :
@@ -33,12 +33,14 @@ jobs:
33
33
php-version : 7.4
34
34
- name : npm install
35
35
run : |
36
- npm install --legacy-peer-deps
36
+ npm install --legacy-peer-deps && npm i puppeteer
37
37
env :
38
38
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
39
39
- name : start a server
40
40
run : " php -S 127.0.0.1:8000 -t test/data/app &"
41
+ - uses : browser-actions/setup-chrome@v1
42
+ - run : chrome --version
41
43
- 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"
43
45
- name : run unit tests
44
46
run : ./node_modules/.bin/mocha test/helper/Puppeteer_test.js
Original file line number Diff line number Diff line change 11
11
jobs :
12
12
build :
13
13
14
- runs-on : ubuntu-20 .04
14
+ runs-on : ubuntu-22 .04
15
15
16
16
strategy :
17
17
matrix :
18
- node-version : [16 .x]
18
+ node-version : [20 .x]
19
19
20
20
steps :
21
- - uses : actions/checkout@v3
21
+ - uses : actions/checkout@v4
22
22
- name : Use Node.js ${{ matrix.node-version }}
23
23
uses : actions/setup-node@v3
24
24
with :
25
25
node-version : ${{ matrix.node-version }}
26
- - run : npm install --legacy-peer-deps
26
+ - run : npm i --force
27
27
env :
28
28
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
29
29
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true
Original file line number Diff line number Diff line change 24
24
node-version : [16.x, 18.x]
25
25
26
26
steps :
27
- - uses : actions/checkout@v3
27
+ - uses : actions/checkout@v4
28
28
- name : Use Node.js ${{ matrix.node-version }}
29
29
uses : actions/setup-node@v3
30
30
with :
Original file line number Diff line number Diff line change 23
23
24
24
steps :
25
25
- 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
27
27
- name : Use Node.js ${{ matrix.node-version }}
28
28
uses : actions/setup-node@v3
29
29
with :
You can’t perform that action at this time.
0 commit comments