@@ -15,16 +15,16 @@ jobs:
1515 strategy :
1616 matrix :
1717 # Strapi is not yet compatible with node 16
18- node : ["12", "14" ]
18+ node : ['12', '14' ]
1919 name : integration-tests (Node.js ${{ matrix.node }})
2020 steps :
21- - uses : actions/checkout@v2
21+ - uses : actions/checkout@v3
2222 - name : Setup node
23- uses : actions/setup-node@v2
23+ uses : actions/setup-node@v3
2424 with :
2525 node-version : ${{ matrix.node }}
2626 - name : Cache dependencies
27- uses : actions/cache@v2
27+ uses : actions/cache@v3
2828 with :
2929 path : |
3030 ./node_modules
@@ -38,16 +38,16 @@ jobs:
3838 runs-on : ubuntu-latest
3939 strategy :
4040 matrix :
41- node : ["12", "14" ]
41+ node : ['12', '14' ]
4242 name : playground-build (Node.js ${{ matrix.node }})
4343 steps :
44- - uses : actions/checkout@v2
44+ - uses : actions/checkout@v3
4545 - name : Setup node
46- uses : actions/setup-node@v2
46+ uses : actions/setup-node@v3
4747 with :
4848 node-version : ${{ matrix.node }}
4949 - name : Cache dependencies
50- uses : actions/cache@v2
50+ uses : actions/cache@v3
5151 with :
5252 path : |
5353 ./node_modules
@@ -61,13 +61,13 @@ jobs:
6161 runs-on : ubuntu-latest
6262 name : style-check
6363 steps :
64- - uses : actions/checkout@v2
64+ - uses : actions/checkout@v3
6565 - name : Setup node
66- uses : actions/setup-node@v2
66+ uses : actions/setup-node@v3
6767 with :
68- node-version : " 12.x "
68+ node-version : ' 14.x '
6969 - name : Cache dependencies
70- uses : actions/cache@v2
70+ uses : actions/cache@v3
7171 with :
7272 path : |
7373 ./node_modules
@@ -85,30 +85,25 @@ jobs:
8585 # Will still run for each push to bump-meilisearch-v*
8686 if : github.event_name != 'pull_request' || !startsWith(github.base_ref, 'bump-meilisearch-v')
8787 runs-on : ubuntu-latest
88- container : cypress/browsers:node12.18.3-chrome87-ff82
88+ container : cypress/browsers:node14.17.0-chrome88-ff89
8989 services :
9090 meilisearch :
9191 image : getmeili/meilisearch:latest
9292 env :
93- MEILI_MASTER_KEY : " masterKey"
94- MEILI_NO_ANALYTICS : " true"
93+ MEILI_MASTER_KEY : ' masterKey'
94+ MEILI_NO_ANALYTICS : ' true'
9595 ports :
96- - " 7700:7700"
96+ - ' 7700:7700'
9797 steps :
9898 - name : Checkout
99- uses : actions/checkout@v2
100- - name : Cache dependencies
101- uses : actions/cache@v2
102- with :
103- path : |
104- ./node_modules
105- key : ${{ hashFiles('yarn.lock') }}
99+ uses : actions/checkout@v3
106100 - name : Setup node
107- uses : actions/setup-node@v2
101+ uses : actions/setup-node@v3
108102 with :
109- node-version : " 12.x"
103+ node-version : ' 14.x'
104+ cache : yarn
110105 - name : Cache dependencies
111- uses : actions/cache@v2
106+ uses : actions/cache@v3
112107 with :
113108 path : |
114109 ./playground/node_modules
@@ -130,18 +125,18 @@ jobs:
130125 mv config ./playground/plugins/meilisearch &&
131126 mv services ./playground/plugins/meilisearch &&
132127 cp package.json ./playground/plugins/meilisearch
133- - name : Test with reloads activated
134- uses : cypress-io/github-action@v2
128+ - name : Run e2e browser tests
129+ uses : cypress-io/github-action@v3
135130 with :
136131 build : yarn playground:build
137132 start : yarn playground:ci
138133 env : env=ci
139- - uses : actions/upload-artifact@v2
134+ - uses : actions/upload-artifact@v3
140135 if : failure()
141136 with :
142137 name : cypress-screenshots
143138 path : cypress/screenshots
144- - uses : actions/upload-artifact@v2
139+ - uses : actions/upload-artifact@v3
145140 if : failure()
146141 with :
147142 name : cypress-videos
0 commit comments