diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index e1946cf..5ae98f0 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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 \ No newline at end of file + - run: npm run lint + - run: npm test diff --git a/package.json b/package.json index e9ee3c1..3d359e1 100644 --- a/package.json +++ b/package.json @@ -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",