Repository navigation
ci: run tests and non-mutating lint/typecheck, clean biome/package.json, fix install-local.sh - #18
Merged
Merged
Conversation
…on, fix install-local.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/ci.yml): Add explicitpermissions: { contents: read }, trigger onpushtomainand allpull_requestevents, and run non-mutatingnpm run lint,npm run typecheck,npm run build, andnpm test.package.json,package-lock.json):@typescript/native-preview(tsgo) devDependency and keep standardtypescript(tsc).checkinto non-mutatinglint(biome check src/), explicitformat(biome check src/ --write),typecheck(tsc --noEmit), and non-mutatingcheck(npm run lint && npm run typecheck).biome.json):$schemawith installed Biome1.9.4."noUnusedVariables": "error"(verified clean acrosssrc/).scripts/install-local.sh,test/install-local.test.js):$(npm prefix -g)/bin/gmcliagainstdist/cli.js(byte comparison and direct--helpparity) instead of$(command -v gmcli).~/.local/bin/gmcliDoppler shims) and print an informational note whenPATHresolvesgmclito a different binary.test/install-local.test.jsto cover stale npm global binary rejection, matching npm global binary verification, and PATH wrapper tolerance without invoking the wrapper.Verification
npm ci --no-audit --no-fund— passednpm run lint— passed (Checked 7 files. No fixes applied.)npm run typecheck— passednpm run build— passednpm test— passed (28/28tests passing)bash -n scripts/install-local.sh— passed