File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,14 @@ jobs:
174174 steps :
175175 - uses : actions/checkout@v2
176176
177+ - name : Install node.js v12
178+ uses : actions/setup-node@v2
179+ with :
180+ node-version : " 12"
181+
182+ - name : Install playwright
183+ uses : microsoft/playwright-github-action@v1
184+
177185 - name : Download release packages
178186 uses : actions/download-artifact@v2
179187 with :
@@ -184,12 +192,20 @@ jobs:
184192 run : |
185193 cd release-packages && tar -xzf code-server*-linux-amd64.tar.gz
186194
187- - uses : microsoft/playwright-github-action@v1
195+ - name : Fetch dependencies from cache
196+ id : cache-yarn
197+ uses : actions/cache@v2
198+ with :
199+ path : " **/node_modules"
200+ key : yarn-build-${{ hashFiles('**/yarn.lock') }}
201+
202+ - name : Install dependencies
203+ if : steps.cache-yarn.outputs.cache-hit != 'true'
204+ run : yarn --frozen-lockfile
188205
189- - name : Install dependencies and run end-to-end tests
206+ - name : Run end-to-end tests
190207 run : |
191208 ./release-packages/code-server*-linux-amd64/bin/code-server &
192- yarn --frozen-lockfile
193209 yarn test:e2e
194210
195211 - name : Upload test artifacts
You can’t perform that action at this time.
0 commit comments