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:
parent
52534252fc
commit
8103adf592
5
.github/workflows/checks.yml
vendored
5
.github/workflows/checks.yml
vendored
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user