Skip to content

chore: adapt CI for attested publish on npm#81

Open
xchalle wants to merge 14 commits into
mainfrom
xchalle/release_workflows
Open

chore: adapt CI for attested publish on npm#81
xchalle wants to merge 14 commits into
mainfrom
xchalle/release_workflows

Conversation

@xchalle
Copy link
Copy Markdown
Collaborator

@xchalle xchalle commented Jan 20, 2026

This pull request updates the workflow files for publishing and releasing packages to improve consistency, directory structure, and attestation/signing steps. The main changes involve standardizing the use of the dist directory, updating attestation actions, and ensuring all relevant steps operate in the correct working directory.

Workflow improvements and directory structure:

  • Changed tarball creation to always use a top-level dist directory (previously sometimes lib/dist), and ensured the directory is created before packing. (.github/workflows/publishBranch.yaml, .github/workflows/release.yaml) [1] [2]
  • Updated all attestation and signing steps to reference ./dist instead of ./lib/dist for improved consistency. (.github/workflows/publishBranch.yaml, .github/workflows/release.yaml) [1] [2]

Attestation and publishing process:

  • Replaced the attestation action with a new one specifically for npmjs.com, and updated its usage and subject path. (.github/workflows/publishBranch.yaml, .github/workflows/release.yaml) [1] [2]
  • Ensured that the tarball renaming, npm config setup, and publishing steps all run in the ./dist/ directory for proper file access and environment consistency. (.github/workflows/publishBranch.yaml, .github/workflows/release.yaml) [1] [2] [3] [4]

@xchalle xchalle requested a review from a team January 20, 2026 13:22
@ledger-wiz-cspm-secret-detection
Copy link
Copy Markdown

ledger-wiz-cspm-secret-detection Bot commented Jan 20, 2026

Wiz Scan Summary

Scanner Findings
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings -
Software Management Finding Software Management Findings -
Total -

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jan 20, 2026

Deploying crypto-icons-storybook-react-native with  Cloudflare Pages  Cloudflare Pages

Latest commit: f823ca7
Status: ✅  Deploy successful!
Preview URL: https://ffd9d230.crypto-icons-storybook-react-native.pages.dev
Branch Preview URL: https://xchalle-release-workflows.crypto-icons-storybook-react-native.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jan 28, 2026

Deploying crypto-icons with  Cloudflare Pages  Cloudflare Pages

Latest commit: 46efe3a
Status: ✅  Deploy successful!
Preview URL: https://152933e4.crypto-icons.pages.dev
Branch Preview URL: https://xchalle-release-workflows.crypto-icons.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying crypto-icons-storybook with  Cloudflare Pages  Cloudflare Pages

Latest commit: 46efe3a
Status: ✅  Deploy successful!
Preview URL: https://32e86d00.crypto-icons-storybook.pages.dev
Branch Preview URL: https://xchalle-release-workflows.crypto-icons-storybook.pages.dev

View logs

xchalle and others added 5 commits February 16, 2026 15:18
Update tarball naming convention to replace slashes with underscores in PR name.
Removed working-directory specification for npm config and publish steps.
Use xchalle/attest-action-package-manager-support branch for testing
the updated attest-for-npmsjs-com action with pnpm support and
hardened GITHUB_OUTPUT writes.

Co-authored-by: Cursor <cursoragent@cursor.com>
@xchalle xchalle requested a review from a team February 24, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant