Repository navigation
CI: upload the npm pack tarball and sha256 sums as an artifact - #34
Merged
Merged
Conversation
…tifact Co-Authored-By: Claude Opus <noreply@anthropic.com>
czypnt
marked this pull request as ready for review
November 25, 2026 03:59
This was referenced Nov 25, 2026
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.
What
After the existing build, tests and
build:check:dist, thetestjob now runsnpm packand uploads, withactions/upload-artifact(SHA-pinned, v7.0.2, like the other actions here):datalyr-web-<version>.tgzSHA256SUMS.txt: sha256 of the tarball,dist/datalyr.pixels.min.jsanddist/datalyr.replay.min.js(also printed in the log)Artifact name:
datalyr-web-<version>-<commit sha>, kept 7 days. Runs on pushes tomainand on pull requests (the existing triggers). Nothing else in the build changes; no secrets, no publish step, permissions staycontents: read.package.jsonhas noprepack/preparescript, sonpm packpacks thedist/built earlier in the same job.Why
Step W2 of the 1.10.0 publish needs the tarball built off the laptop. Today CI builds but saves nothing.
Merge order
This PR first, then
release/1.10.0(#32) rebased or merged on top, so the push tomainfrom #32 produces thedatalyr-web-1.10.0-<sha>artifact. This PR's own artifact carries the branch version (1.9.15) and is only a proof.versionedHeaderNot decided here: it is a switch in the main repo's tracking build (
infra/tracking/build-options.json), not in this package's build, so the npm tarball is the same either way. ON changes the first comment line of the serveddl.jsto name@datalyr/web v1.10.0, OFF keeps the oldDatalyr Analytics v2.0banner; the publish package recommends ON (it shows which version a site runs) and says OFF is also fine.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.