Add test script and update build.yaml
Build Project / build (push) Waiting to run Details
Test Runner / test (push) Waiting to run Details

This commit is contained in:
m.marjorie 2025-04-04 10:05:50 +08:00
parent bee1391d9e
commit 9d59838217
2 changed files with 4 additions and 1 deletions

View File

@ -14,3 +14,5 @@ jobs:
run: npm install
- name: Build
run: npm run build
- name: Run tests
run: npm test

View File

@ -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",