Repository navigation
CI: save the packed tarball and its sha256 as an artifact (no publish) - #9
Merged
Merged
Conversation
After build and tests on the Node 24 leg, npm pack the package, write SHA256SUMS.txt, and upload both as datalyr-api-<version>-<sha> (7 days). Skipped for fork PRs. No secrets, no publish step, permissions unchanged. Co-Authored-By: Claude Opus <noreply@anthropic.com>
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.
Same approach as datalyr/web#34, so the 1.4.0 tarball the co-founder publishes is built by CI from a clean checkout, not on a laptop.
npm ci,npm run buildandnpm test, the Node 24 leg runsnpm packintopack-out/, writesSHA256SUMS.txt(also printed in the log) and uploads both asdatalyr-api-<version>-<sha>, kept 7 days.permissions: contents: readunchanged.actions/upload-artifactpinned by full SHA (v7.0.2), same as web#34.prepublishOnlyisnpm run build; publishing a.tgzskips it, which loses nothing because CI built the sametsupoutput from a clean tree and ran the tests. There is noprepack,prepareor.npmignore.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.