2727 strategy :
2828 matrix :
2929 node-version : [20.x]
30- chrome-version : [latest]
31-
3230 steps :
33- - name : Checkout code
34- uses : actions/checkout@v5
35-
36- - name : Setup Node.js ${{ matrix.node-version }}
37- uses : actions/setup-node@v4
38- with :
39- node-version : ${{ matrix.node-version }}
40-
41- - name : Setup Chrome ${{ matrix.chrome-version }}
42- uses : browser-actions/setup-chrome@v1
43- with :
44- chrome-version : ${{ matrix.chrome-version }}
45-
46- - name : Setup ChromeDriver
47- uses : nanasess/setup-chromedriver@v2
48- with :
49- chromedriver-version : ' LATEST'
50-
5131 - name : Start Selenium Server with BiDi support
5232 run : |
5333 # Download and start Selenium Grid with BiDi protocol support
@@ -59,12 +39,20 @@ jobs:
5939
6040 # Wait for Selenium to be ready
6141 timeout 60 bash -c 'until curl -s http://localhost:4444/wd/hub/status > /dev/null; do sleep 1; done'
62-
63- - name : Setup PHP for test server
64- uses : shivammathur/setup-php@v2
42+ - uses : actions/checkout@v5
43+ - name : Use Node.js ${{ matrix.node-version }}
44+ uses : actions/setup-node@v4
45+ with :
46+ node-version : ${{ matrix.node-version }}
47+ - uses : shivammathur/setup-php@v2
6548 with :
6649 php-version : 8.0
67-
50+ - name : npm install
51+ run : |
52+ npm i
53+ env :
54+ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
55+ PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true
6856 - name : Install dependencies
6957 run : |
7058 npm ci
0 commit comments