File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change 22
22
run : |
23
23
sudo apt-get install -y pandoc
24
24
python -m pip install --upgrade pip
25
- pip install file://$PWD#egg=ipywidgets
26
- pip install -r ./docs/requirements.txt
25
+ python -m pip install file://$PWD#egg=ipywidgets
26
+ python -m pip install -r ./docs/requirements.txt
27
27
- name : Build docs
28
28
run : |
29
29
cd docs
@@ -34,13 +34,26 @@ jobs:
34
34
35
35
steps :
36
36
- uses : actions/checkout@v2
37
- - name : Use Node.js 10.x
38
- uses : actions/setup-node @v1
37
+ - name : Set up Python
38
+ uses : actions/setup-python @v1
39
39
with :
40
- node-version : 10.x
40
+ python-version : 3.7
41
+ - uses : actions/cache@v1
42
+ with :
43
+ path : ~/.cache/pip
44
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}-${{hashFiles('**/requirements.txt')}}
45
+ restore-keys : |
46
+ ${{ runner.os }}-pip-
41
47
- name : Install dependencies
42
48
run : |
43
49
sudo apt-get install -y firefox
50
+ python -m pip install --upgrade pip
51
+ 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
44
57
- name : Get yarn cache
45
58
id : yarn-cache
46
59
run : echo "::set-output name=dir::$(yarn cache dir)"
50
63
key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
51
64
restore-keys : |
52
65
${{ runner.os }}-yarn-
66
+
53
67
- name : yarn install, build, test
54
68
run : |
55
69
yarn install --frozen-lockfile
You can’t perform that action at this time.
0 commit comments