@@ -16,15 +16,15 @@ jobs:
1616 runs-on : ubuntu-20.04
1717 strategy :
1818 matrix :
19- node-version : ['14 ', '15 ']
19+ node-version : ['16 ', '18 ']
2020
2121 steps :
22- - uses : actions/checkout@v2
22+ - uses : actions/checkout@v3
2323 with :
2424 fetch-depth : 0
2525
2626 - name : Setup node
27- uses : actions/setup-node@v2
27+ uses : actions/setup-node@v3
2828 with :
2929 node-version : ${{ matrix.node-version }}
3030
@@ -59,13 +59,15 @@ jobs:
5959 strategy :
6060 fail-fast : false
6161 matrix :
62- browser : ['chrome', 'firefox' ]
62+ browser : ['chrome']
6363
6464 steps :
65- - uses : actions/checkout@v2
65+ - uses : actions/checkout@v3
6666
6767 - name : Setup node
68- uses : actions/setup-node@v2
68+ uses : actions/setup-node@v3
69+ with :
70+ node-version : ' 18'
6971
7072 - name : Download all workflow run artifacts
7173 uses : actions/download-artifact@v2
@@ -74,14 +76,10 @@ jobs:
7476 path : packages/
7577
7678 - name : Run Cypress UI tests
77- uses : cypress-io/github-action@v2
78- with :
79- install-command : yarn install --immutable --immutable-cache
80- start : yarn cypress:ui-tests
81- browser : ${{ matrix.browser }}
82- working-directory : packages/ui-tests
83- wait-on : ' http://localhost:9009'
84- command-prefix : yarn workspace practical-react-components-ui-tests
79+ run : |
80+ yarn install --immutable --immutable-cache
81+ yarn cypress:ui-tests &
82+ yarn cypress:chrome
8583
8684 - name : Upload screenshots for failed UI tests
8785 uses : actions/upload-artifact@v2
@@ -94,10 +92,10 @@ jobs:
9492 needs : unit-tests
9593 runs-on : ubuntu-20.04
9694 steps :
97- - uses : actions/checkout@v2
95+ - uses : actions/checkout@v3
9896
9997 - name : Setup node
100- uses : actions/setup-node@v2
98+ uses : actions/setup-node@v3
10199
102100 - name : Install dependencies
103101 run : yarn install --immutable --immutable-cache
0 commit comments