@@ -49,21 +49,11 @@ jobs:
4949 sudo apt-get install -y firefox
5050 python -m pip install --upgrade pip
5151 python -m pip install jupyterlab~=3.0
52-
53- - name : Use Node.js 12.x
54- uses : actions/setup-node@v1
55- with :
56- node-version : 12.x
57- - name : Get yarn cache
58- id : yarn-cache
59- run : echo "::set-output name=dir::$(yarn cache dir)"
60- - uses : actions/cache@v1
52+ - name : Install node
53+ uses : actions/setup-node@v3
6154 with :
62- path : ${{ steps.yarn-cache.outputs.dir }}
63- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
64- restore-keys : |
65- ${{ runner.os }}-yarn-
66-
55+ node-version : ' 14'
56+ cache : ' yarn'
6757 - name : yarn install, build, test
6858 run : |
6959 yarn install --frozen-lockfile
@@ -166,21 +156,14 @@ jobs:
166156 python -m pip install --upgrade pip
167157 python -m pip install -U jupyterlab~=3.2 jupyter-packaging~=0.10
168158
169- - name : Set up Node
170- uses : actions/setup-node@v2
159+ - name : Install node
160+ uses : actions/setup-node@v3
171161 with :
172- node-version : ' 16.x'
173-
174- - name : Get yarn cache
175- id : yarn-cache
176- run : echo "::set-output name=dir::$(yarn cache dir)"
177-
178- - uses : actions/cache@v1
179- with :
180- path : ${{ steps.yarn-cache.outputs.dir }}
181- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
182- restore-keys : |
183- ${{ runner.os }}-yarn-
162+ node-version : ' 14'
163+ cache : ' yarn'
164+ cache-dependency-path : |
165+ yarn.lock
166+ ui-tests/yarn.lock
184167
185168 - name : Build and Install ipywidgets
186169 run : |
0 commit comments