@@ -15,19 +15,13 @@ jobs:
1515 uses : actions/setup-python@v2
1616 with :
1717 python-version : 3.8
18- - name : Set up Node.js
19- uses : actions/setup-node@v1
20- with :
21- node-version : 12.x
2218 - name : Install dependencies
2319 run : |
2420 python -m pip install --upgrade pip
2521 pip install -r local-requirements.txt
2622 pip install -e .
2723 - name : Lint
2824 run : pre-commit run --all-files
29- - name : Build driver
30- run : python build_driver.py
3125 - name : Test Sync generation script
3226 run : bash buildbots/test-sync-generation.sh
3327 build :
4337 steps :
4438 - uses : actions/checkout@v2
4539 - 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') }}
6040 - name : Set up Python
6141 uses : actions/setup-python@v2
6242 with :
6646 python -m pip install --upgrade pip
6747 pip install -r local-requirements.txt
6848 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 }}
7349 - name : Build package
7450 run : python build_package.py
7551 - name : Install
10783 python -m pip install --upgrade pip
10884 pip install -r local-requirements.txt
10985 pip install -e .
110- - name : Build driver
111- run : python build_driver.py
11286 - name : Build package
11387 run : python build_package.py
11488 - name : Test package installation
0 commit comments