File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 15
15
- name : NPM install
16
16
uses : bahmutov/npm-install@v1
17
17
18
+ - name : Build project
19
+ run : yarn build
20
+
18
21
- name : Build JSDoc
19
22
uses : andstor/jsdoc-action@v1
20
23
with :
Original file line number Diff line number Diff line change 11
11
},
12
12
{
13
13
"type" : " npm" ,
14
- "script" : " build-js " ,
14
+ "script" : " build" ,
15
15
"group" : " build" ,
16
16
"problemMatcher" : []
17
17
}
Original file line number Diff line number Diff line change 4
4
"description" : " A JavaScript data access module for BookBrainz" ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
7
- "build-js " : " rimraf lib/* && babel src --out-dir lib --extensions .js,.ts && tsc" ,
7
+ "build" : " rimraf lib/* && babel src --out-dir lib --extensions .js,.ts && tsc" ,
8
8
"build-js-for-test" : " rimraf lib/* && babel src --out-dir lib --source-maps inline --extensions .js,.ts" ,
9
9
"lint" : " eslint ." ,
10
10
"lint-errors" : " eslint --quiet ." ,
11
- "prepublishOnly" : " yarn build-js " ,
11
+ "prepublishOnly" : " yarn build" ,
12
12
"test" : " yarn build-js-for-test && yarn lint-errors && mocha" ,
13
13
"test-with-report" : " mocha --reporter json --reporter-option output=coverage/test-results.json" ,
14
14
"test-ci" : " yarn build-js-for-test && yarn lint-errors && yarn test-with-report" ,
15
15
"dupreport" : " jsinspect src/ || true" ,
16
- "nodemon" : " nodemon --watch './src/' --exec 'yarn build-js '"
16
+ "nodemon" : " nodemon --watch './src/' --exec 'yarn build'"
17
17
},
18
18
"files" : [
19
19
" lib/**/*"
You can’t perform that action at this time.
0 commit comments