Repository navigation
Release: binárky s Node 24 a @yao-pkg/pkg 6, kontrola verze tagu, engines >=22, Dependabot - #4
Merged
Merged
Conversation
…ines >=22, Dependabot (#3) - @yao-pkg/pkg ^6.23.0, pkg.targets node24-* (jediný zdroj cílů pro release) - release.yml: kontrola tag == package.json version jako první krok, cíle z package.json, permissions zúžené - engines/README na Node >=22, CI matice Node 22 a 24 - .github/dependabot.yml (npm + github-actions, týdně) - verze 1.0.41
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.
Closes #3
Změny
@yao-pkg/pkg5.16.1 → 6.23.0 (package.json+package-lock.json).pkg.targets→node24-win-x64,node24-linux-x64,node24-macos-x64,node24-macos-arm64; je to jediný zdroj cílů –release.ymlje načítá zpackage.json(npx pkg … --targets "$TARGETS").release.yml: první krok jobubuild-and-releaseověří, že${GITHUB_REF_NAME#v}odpovídáversionvpackage.json, jinak workflow skončí dřív, než vznikne Release. Workflow-levelpermissionsjsou jencontents: read,build-and-releasemácontents: write,publishzůstávácontents: read+id-token: write.engines.node>=22, README to samé; CI (ci.yml) běží v matici Node 22 a 24..github/dependabot.yml(npm + github-actions, týdně).Ověření (lokálně, Node 24.21.0)
actionlint– bez nálezů.npm ci+npm test(smoke test bundlů) – OK;npm pack --dry-run– OK.scripts/smoke.sh dist– OK;./dist/asm80-linux-x64 --helpfunguje.v1.0.41projde,v1.0.40skončí chybou „Tag neodpovídá verzi v package.json“.Poznámky
enginesz>=18na>=22by se dalo uvažovat i o minor/major verzi; použil jsem patch 1.0.41, jak bylo zvykem. Pokud chceš jinou, stačí upravitversion.macos-arm64nejsou podepsané (ad-hoc podpis přescodesign/ldid). Tak to bylo už s pkg 5, tímhle PR se to nemění.