Add test script and update build.yaml
This commit is contained in:
parent
bee1391d9e
commit
9d59838217
|
@ -14,3 +14,5 @@ jobs:
|
|||
run: npm install
|
||||
- name: Build
|
||||
run: npm run build
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"description": "# Test 4 # Test 4",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "node index.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in New Issue