mirror of
https://github.com/semver/semver.git
synced 2025-08-22 22:08: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]
|
on: [pull_request]
|
||||||
|
|
||||||
@ -11,4 +11,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "12.x"
|
node-version: "12.x"
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
|
- run: npm test
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
"description": "Semantic Versioning Specification",
|
"description": "Semantic Versioning Specification",
|
||||||
"main": "semver.md",
|
"main": "semver.md",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "remark -qf semver.md",
|
"lint": "remark -qf .",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "remark -qf semver.md"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
Reference in New Issue
Block a user