@@ -15,19 +15,13 @@ jobs:
15
15
uses : actions/setup-python@v2
16
16
with :
17
17
python-version : 3.8
18
- - name : Set up Node.js
19
- uses : actions/setup-node@v1
20
- with :
21
- node-version : 12.x
22
18
- name : Install dependencies
23
19
run : |
24
20
python -m pip install --upgrade pip
25
21
pip install -r local-requirements.txt
26
22
pip install -e .
27
23
- name : Lint
28
24
run : pre-commit run --all-files
29
- - name : Build driver
30
- run : python build_driver.py
31
25
- name : Test Sync generation script
32
26
run : bash buildbots/test-sync-generation.sh
33
27
build :
43
37
steps :
44
38
- uses : actions/checkout@v2
45
39
- uses : microsoft/playwright-github-action@v1
46
- - name : Set up Node.js
47
- uses : actions/setup-node@v1
48
- with :
49
- node-version : 12.x
50
- - name : Get Node PKG Cache dir
51
- id : node-pkg-cache
52
- run : |
53
- node -e "const path = require('path'); const fs = require('fs'); const cachePath = path.join(os.tmpdir(), 'pkg-cache'); fs.mkdirSync(cachePath); console.log('::set-output name=dir::' + cachePath)"
54
- - name : Cache driver
55
- id : cache-primes
56
- uses : actions/cache@v2
57
- with :
58
- path : ${{ steps.node-pkg-cache.outputs.dir }}
59
- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
60
40
- name : Set up Python
61
41
uses : actions/setup-python@v2
62
42
with :
66
46
python -m pip install --upgrade pip
67
47
pip install -r local-requirements.txt
68
48
pip install -e .
69
- - name : Build driver
70
- run : python build_driver.py
71
- env :
72
- PKG_CACHE_PATH : ${{ steps.node-pkg-cache.outputs.dir }}
73
49
- name : Build package
74
50
run : python build_package.py
75
51
- name : Install
107
83
python -m pip install --upgrade pip
108
84
pip install -r local-requirements.txt
109
85
pip install -e .
110
- - name : Build driver
111
- run : python build_driver.py
112
86
- name : Build package
113
87
run : python build_package.py
114
88
- name : Test package installation
0 commit comments