@@ -23,12 +23,14 @@ jobs:
23
23
uses : actions/setup-python@v2
24
24
with :
25
25
python-version : 3.9
26
+ - name : Install latest NPM
27
+ run : |
28
+ npm install -g npm@latest
29
+ npm --version
26
30
- name : Install Python Dependencies
27
31
run : pip install -r requirements/test-run.txt
28
32
- name : Run Tests
29
- run : |
30
-
31
- nox -s test -- --headless
33
+ run : nox -s test -- --headless
32
34
test-python-versions :
33
35
runs-on : ${{ matrix.os }}
34
36
strategy :
@@ -45,24 +47,28 @@ jobs:
45
47
uses : actions/setup-python@v2
46
48
with :
47
49
python-version : ${{ matrix.python-version }}
50
+ - name : Install latest NPM
51
+ run : |
52
+ npm install -g npm@latest
53
+ npm --version
48
54
- name : Install Python Dependencies
49
55
run : pip install -r requirements/test-run.txt
50
56
- name : Run Tests
51
- run : |
52
-
53
- nox -s test -- --headless --no-cov
57
+ run : nox -s test -- --headless --no-cov
54
58
test-javascript :
55
59
runs-on : ubuntu-latest
56
60
steps :
57
61
- uses : actions/checkout@v2
58
62
- uses : actions/setup-node@v2
59
63
with :
60
64
node-version : " 14"
65
+ - name : Install latest NPM
66
+ run : |
67
+ npm install -g npm@latest
68
+ npm --version
61
69
- name : Test Javascript
62
70
working-directory : ./src/idom/client/app
63
71
run : |
64
- npm --version
65
-
66
72
npm install
67
73
npm test
68
74
npm run build
88
94
uses : actions/setup-python@v2
89
95
with :
90
96
python-version : 3.9
97
+ - name : Install latest NPM
98
+ run : |
99
+ npm install -g npm@latest
100
+ npm --version
91
101
- name : Test Build Creation
92
102
run : python setup.py bdist_wheel sdist
0 commit comments