File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+ name : Run tests
5+
6+ on :
7+ push :
8+ branches : [ main ]
9+ pull_request :
10+ branches : [ main ]
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v2
17+ - uses : actions/setup-node@v2
18+ with :
19+ node-version : 14
20+ - name : Install Dependencies
21+ run : npm install
22+ - name : Run tests
23+ run : npm run test
Original file line number Diff line number Diff line change 77 "tslint" : " tslint -c tslint.json -p tsconfig.json" ,
88 "copyAssets" : " node scripts/copy-static-assets.js" ,
99 "dev" : " nodemon --exec 'npm run build' -i dist -e 'ts html'" ,
10- "test" : " echo \" Error: no test specified \" && exit 1 "
10+ "test" : " npm run build "
1111 },
1212 "keywords" : [],
1313 "author" :
" Nick O'Leary <[email protected] >" ,
You can’t perform that action at this time.
0 commit comments