0
0
mirror of https://github.com/semver/semver.git synced 2025-08-22 13:58:33 +00:00

Add test script to package.json

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/semver/semver/tree/docs/README?shareId=XXXX-XXXX-XXXX-XXXX).
This commit is contained in:
shan1919 2025-04-22 03:17:47 -04:00
parent 52534252fc
commit 8103adf592
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
name: Check chagnes
name: Check changes
on: [pull_request]
@ -11,4 +11,5 @@ jobs:
with:
node-version: "12.x"
- run: npm ci
- run: npm run lint
- run: npm run lint
- run: npm test

View File

@ -4,8 +4,8 @@
"description": "Semantic Versioning Specification",
"main": "semver.md",
"scripts": {
"lint": "remark -qf semver.md",
"test": "echo \"Error: no test specified\" && exit 1"
"lint": "remark -qf .",
"test": "remark -qf semver.md"
},
"repository": {
"type": "git",