File tree Expand file tree Collapse file tree 8 files changed +57
-53
lines changed Expand file tree Collapse file tree 8 files changed +57
-53
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ jobs:
17
17
18
18
strategy :
19
19
matrix :
20
- node-version : [14 .x]
20
+ node-version : [16 .x]
21
21
22
22
steps :
23
- - uses : actions/checkout@v1
23
+ - uses : actions/checkout@v3
24
24
- name : Use Node.js ${{ matrix.node-version }}
25
- uses : actions/setup-node@v1
25
+ uses : actions/setup-node@v3
26
26
with :
27
27
node-version : ${{ matrix.node-version }}
28
- - run : npm install
28
+ - run : npm install --legacy-peer-deps
29
29
env :
30
30
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
31
31
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true
@@ -41,12 +41,12 @@ jobs:
41
41
42
42
strategy :
43
43
matrix :
44
- node-version : [14 .x]
44
+ node-version : [16 .x]
45
45
46
46
steps :
47
- - uses : actions/checkout@v1
47
+ - uses : actions/checkout@v3
48
48
- name : Use Node.js ${{ matrix.node-version }}
49
- uses : actions/setup-node@v1
49
+ uses : actions/setup-node@v3
50
50
with :
51
51
node-version : ${{ matrix.node-version }}
52
52
- run : npm install
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@v2
14
+ - uses : actions/checkout@v3
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 10
10
11
11
jobs :
12
12
test :
13
- runs-on : ubuntu-18 .04
13
+ runs-on : ubuntu-20 .04
14
14
strategy :
15
15
matrix :
16
- node-version : [14 .x]
16
+ node-version : [16 .x]
17
17
steps :
18
- - uses : actions/checkout@v1
18
+ - uses : actions/checkout@v3
19
19
- name : Use Node.js ${{ matrix.node-version }}
20
- uses : actions/setup-node@v1
20
+ uses : actions/setup-node@v3
21
21
with :
22
22
node-version : ${{ matrix.node-version }}
23
- - run : npm install
23
+ - run : npm install --legacy-peer-deps
24
24
env :
25
25
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
26
26
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true
Original file line number Diff line number Diff line change @@ -20,20 +20,20 @@ jobs:
20
20
21
21
strategy :
22
22
matrix :
23
- node-version : [14 .x]
23
+ node-version : [16 .x]
24
24
25
25
steps :
26
- - uses : actions/checkout@v1
26
+ - uses : actions/checkout@v3
27
27
- name : Use Node.js ${{ matrix.node-version }}
28
- uses : actions/setup-node@v1
28
+ uses : actions/setup-node@v3
29
29
with :
30
30
node-version : ${{ matrix.node-version }}
31
31
- uses : shivammathur/setup-php@v2
32
32
with :
33
33
php-version : 7.4
34
34
- name : npm install
35
35
run : |
36
- npm install
36
+ npm install --legacy-peer-deps
37
37
env :
38
38
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true
39
39
- name : Install deps
Original file line number Diff line number Diff line change 16
16
jobs :
17
17
build :
18
18
19
- runs-on : ubuntu-18 .04
19
+ runs-on : ubuntu-20 .04
20
20
21
21
strategy :
22
22
matrix :
23
- node-version : [14 .x]
23
+ node-version : [16 .x]
24
24
25
25
steps :
26
- - uses : actions/checkout@v1
26
+ - uses : actions/checkout@v3
27
27
- name : Use Node.js ${{ matrix.node-version }}
28
- uses : actions/setup-node@v1
28
+ uses : actions/setup-node@v3
29
29
with :
30
30
node-version : ${{ matrix.node-version }}
31
31
- uses : shivammathur/setup-php@v2
32
32
with :
33
33
php-version : 7.4
34
34
- name : npm install
35
35
run : |
36
- npm install
36
+ npm install --legacy-peer-deps
37
37
env :
38
38
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
39
39
- name : start a server
Original file line number Diff line number Diff line change 11
11
jobs :
12
12
build :
13
13
14
- runs-on : ubuntu-18 .04
14
+ runs-on : ubuntu-20 .04
15
15
16
16
strategy :
17
17
matrix :
18
- node-version : [14 .x]
18
+ node-version : [16 .x]
19
19
20
20
steps :
21
- - uses : actions/checkout@v1
21
+ - uses : actions/checkout@v3
22
22
- name : Use Node.js ${{ matrix.node-version }}
23
- uses : actions/setup-node@v1
23
+ uses : actions/setup-node@v3
24
24
with :
25
25
node-version : ${{ matrix.node-version }}
26
- - run : npm install
26
+ - run : npm install --legacy-peer-deps
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 17
17
jobs :
18
18
build :
19
19
20
- runs-on : ubuntu-18 .04
20
+ runs-on : ubuntu-20 .04
21
21
22
22
strategy :
23
23
matrix :
24
- node-version : [14 .x]
24
+ node-version : [16 .x]
25
25
26
26
steps :
27
- - uses : actions/checkout@v1
27
+ - uses : actions/checkout@v3
28
28
- name : Use Node.js ${{ matrix.node-version }}
29
- uses : actions/setup-node@v1
29
+ uses : actions/setup-node@v3
30
30
with :
31
31
node-version : ${{ matrix.node-version }}
32
32
- uses : shivammathur/setup-php@v2
33
33
with :
34
34
php-version : 7.4
35
35
- name : npm install
36
36
run : |
37
- npm install
37
+ npm install --legacy-peer-deps
38
38
env :
39
39
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
40
40
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true
Original file line number Diff line number Diff line change @@ -17,26 +17,30 @@ jobs:
17
17
build :
18
18
19
19
runs-on : ubuntu-20.04
20
+ strategy :
21
+ matrix :
22
+ node-version : [16.x]
20
23
21
24
steps :
22
- - name : Checkout
23
- uses : actions/checkout@v2
24
- - uses : actions/setup-node@v3
25
- with :
26
- node-version : 18
27
- - uses : shivammathur/setup-php@v2
28
- with :
29
- php-version : 8.0
30
- - name : start a server
31
- run : " php -S 127.0.0.1:8000 -t test/data/app &"
32
- - name : start selenium
33
- run : docker run -d --net=host --shm-size=2g selenium/standalone-chrome:3.141.59-oxygen
34
- - name : Install
35
- run : |
36
- npm i
37
- - name : run unit tests
38
- run : |
39
- google-chrome --version
40
- npx mocha test/helper/WebDriver_test.js
41
- - name : run tests
42
- run : " ./bin/codecept.js run -c test/acceptance/codecept.WebDriver.js --grep @WebDriver --debug"
25
+ - run : docker run -d --net=host --shm-size=2g selenium/standalone-chrome:3.141.59-oxygen
26
+ - uses : actions/checkout@v3
27
+ - name : Use Node.js ${{ matrix.node-version }}
28
+ uses : actions/setup-node@v3
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 install --legacy-peer-deps
37
+ env :
38
+ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
39
+ PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true
40
+ - name : start a server
41
+ run : " php -S 127.0.0.1:8000 -t test/data/app &"
42
+ - name : run unit tests
43
+ run : ./node_modules/.bin/mocha test/helper/WebDriver_test.js
44
+ - name : run tests
45
+ run : " ./bin/codecept.js run -c test/acceptance/codecept.WebDriver.js --grep @WebDriver --debug"
46
+
You can’t perform that action at this time.
0 commit comments