From be8967e15fa27acd09ee6b0c6b81acc18c2c7ddd Mon Sep 17 00:00:00 2001 From: Roger Chappel Date: Wed, 17 Jun 2026 06:47:28 +1000 Subject: [PATCH 1/3] chore: include package smoke in validation --- scripts/validate.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/validate.sh b/scripts/validate.sh index dca6feb..11a40d6 100755 --- a/scripts/validate.sh +++ b/scripts/validate.sh @@ -8,6 +8,7 @@ npm run check npm run build npm test npm run smoke +npm run package:smoke node dist/cli.js fixtures/fully-typed --format json --min-coverage 100 >/tmp/typegap-fully-typed.json node -e "const fs=require('node:fs'); const r=JSON.parse(fs.readFileSync('/tmp/typegap-fully-typed.json','utf8')); if (r.coverage !== 100 || r.implicitCount !== 0) process.exit(1)" From f65d93855a84dd19905707add5d987cc972a8d7b Mon Sep 17 00:00:00 2001 From: Roger Chappel Date: Wed, 17 Jun 2026 06:47:37 +1000 Subject: [PATCH 2/3] ci: use package release check --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c1d652..5f98d78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,4 @@ jobs: node-version: 22 cache: npm - run: npm ci - - run: npm run check - - run: npm run build - - run: npm test - - run: npm run smoke - - run: npm run package:smoke + - run: npm run release:check From d0f6078120413d38f7f1cb1f5f8967c512dd9655 Mon Sep 17 00:00:00 2001 From: Roger Chappel Date: Wed, 17 Jun 2026 06:47:48 +1000 Subject: [PATCH 3/3] docs: highlight release check for contributors --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c36815f..a6f5417 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,13 @@ MIT © [Roger Chappel](https://github.com/rogerchappel) ## Development -Run the same checks locally before opening a PR: +Run the same release gate used by CI before opening a PR: + +```bash +npm run release:check +``` + +The release gate covers: - `npm run check` - tsc --noEmit - `npm run lint` - eslint src --ext .ts