File tree 4 files changed +25
-25
lines changed
4 files changed +25
-25
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ jobs:
21
21
with :
22
22
node-version : ' 16.x'
23
23
24
- - name : Install dependencies
25
- run : npm ci
26
-
27
- - name : Build app.js
28
- run : npm run build:ci
24
+ # - name: Install dependencies
25
+ # run: npm ci
26
+ #
27
+ # - name: Build app.js
28
+ # run: npm run build:ci
29
29
30
30
- name : Build and Check Package
31
31
uses : hynek/build-and-inspect-python-package@v1
Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ jobs:
46
46
with :
47
47
node-version : ' 16.x'
48
48
49
- - name : Install dependencies
50
- run : npm ci
51
-
52
- - name : Build app.js
53
- run : npm run build:ci
49
+ # - name: Install dependencies
50
+ # run: npm ci
51
+ #
52
+ # - name: Build app.js
53
+ # run: npm run build:ci
54
54
55
55
- name : Build and Check Package
56
56
uses : hynek/build-and-inspect-python-package@v1
@@ -129,11 +129,11 @@ jobs:
129
129
with :
130
130
node-version : ' 16.x'
131
131
132
- - name : Install dependencies
133
- run : npm ci
134
-
135
- - name : Build app
136
- run : npm run build:ci
132
+ # - name: Install dependencies
133
+ # run: npm ci
134
+ #
135
+ # - name: Build app
136
+ # run: npm run build:ci
137
137
138
138
- name : Set up python
139
139
uses : actions/setup-python@v4
@@ -203,11 +203,11 @@ jobs:
203
203
with :
204
204
node-version : ' 16.x'
205
205
206
- - name : Install dependencies
207
- run : npm ci
208
-
209
- - name : Build app
210
- run : npm run build:ci
206
+ # - name: Install dependencies
207
+ # run: npm ci
208
+ #
209
+ # - name: Build app
210
+ # run: npm run build:ci
211
211
212
212
- name : Set up python
213
213
uses : actions/setup-python@v4
Original file line number Diff line number Diff line change 1
1
{
2
2
"scripts" : {
3
- "unit" : " nyc mocha testing/**/unittest.js" ,
4
- "build:ci" : " npm run build:css && npm run build:jsapp" ,
3
+ "build" : " npm run build:css && npm run build:jsapp" ,
5
4
"build:css" : " sass --no-source-map --no-error-css src/layout/css/style.scss src/pytest_html/resources/style.css" ,
6
5
"build:jsapp" : " browserify ./src/pytest_html/scripts/index.js > ./src/pytest_html/resources/app.js" ,
7
- "build" : " npm run unit && npm run build:css && npm run build:jsapp" ,
8
- "lint" : " eslint src/pytest_html/scripts/ testing/"
6
+ "lint" : " eslint src/pytest_html/scripts/ testing/" ,
7
+ "unit" : " nyc mocha testing/**/unittest.js" ,
8
+ "all" : " npm run lint && npm run unit && npm run build:css && npm run build:jsapp"
9
9
},
10
10
"devDependencies" : {
11
11
"browserify" : " ^17.0.0" ,
Original file line number Diff line number Diff line change 5
5
6
6
class NpmBuildHook (BuildHookInterface ):
7
7
def initialize (self , version , build_data ):
8
- subprocess .check_output ("npm install " , shell = True )
8
+ subprocess .check_output ("npm ci " , shell = True )
9
9
subprocess .check_output ("npm run build" , shell = True )
You can’t perform that action at this time.
0 commit comments