diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8f8599..3fc5a9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,7 +64,5 @@ jobs: npm install fi - npm run lint --if-present - npm test --if-present - npm run typecheck --if-present - npm run build --if-present + npm run release:check + bash scripts/validate.sh diff --git a/package.json b/package.json index 5bd8247..f1098c2 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ "scripts": { "build": "tsc", "check": "tsc --noEmit", - "test": "npm run build && node --test dist/**/*.test.js", + "test": "npm run build && node --test dist/*.test.js", "smoke": "bash scripts/smoke.sh", "package:smoke": "npm pack --dry-run", - "release:check": "npm test && npm run smoke && npm run package:smoke" + "release:check": "npm run check && npm test && npm run smoke && npm run package:smoke" }, "keywords": ["git", "diff", "risk", "budget", "cli", "local-first"], "author": "Roger Chappel",