Skip to content

Adjust release action#8

Merged
SirSimon04 merged 9 commits intomainfrom
chore/prepare-initial-release
Apr 15, 2026
Merged

Adjust release action#8
SirSimon04 merged 9 commits intomainfrom
chore/prepare-initial-release

Conversation

@schiwekM
Copy link
Copy Markdown
Contributor

Adjust release action

@schiwekM schiwekM requested a review from a team as a code owner April 15, 2026 10:04
@hyperspace-insights
Copy link
Copy Markdown

Summary

The following content is AI-generated and provides a summary of the pull request:


Adjust Release Action and Refactor CI Workflows

Chore

🔧 Refactored the CI/CD release workflow and extracted shared test steps into a reusable composite action. Also updated the changelog for version 0.5.0 and fixed the package.json repository field.

Changes

  • .github/actions/tests/action.yml: New file — introduces a reusable composite GitHub Action that encapsulates all test setup steps (install global CDS, install root dependencies, install bookshop, run Jest tests), parameterized by TEST_SUITE, CDS_VERSION, and NODE_VERSION.

  • .github/workflows/release.yml: Refactored the release workflow:

    • Added workflow_dispatch input for selecting the npm publish tag (latest, previous, beta).
    • Upgraded actions/checkout and actions/setup-node from v4 to v6.
    • Bumped Node.js version from 20 to 24.
    • Replaced inline test steps with the new reusable ./.github/actions/tests composite action.
    • Replaced martinbeentjes/npm-get-version-action with an inline npm pkg get version command.
    • Pinned ncipollo/release-action to v1.20.0.
    • Added --provenance flag and dynamic --tag support to npm publish.
    • Added id-token: write permission for provenance publishing.
  • .github/workflows/test.yml: Replaced the inline multi-step test setup with the new reusable ./.github/actions/tests composite action, keeping the matrix strategy intact.

  • CHANGELOG.md: Updated version 0.5.0 release date from TBD to 15.04.2026 and expanded the changelog with detailed entries covering Retention Management, Blocking & Destruction, Access Restrictions, Auditor Access, Dynamic Data Subject Roles, Conditions, Information Reporting, Multi-Tenancy, and more.

  • package.json: Expanded the repository field from a plain string to a full object with type, and url for better npm metadata compliance.


  • 🔄 Regenerate and Update Summary
  • ✏️ Insert as PR Description (deletes this comment)
  • 🗑️ Delete comment
PR Bot Information

Version: 1.20.11 | 📖 Documentation | 🚨 Create Incident | 💬 Feedback

  • File Content Strategy: Full file content
  • Correlation ID: 4ffbe9b1-1271-4e84-8cdd-05ed90d09a2f
  • Output Template: Default Template
  • LLM: anthropic--claude-4.6-sonnet
  • Summary Prompt: Default Prompt
  • Event Trigger: pull_request.opened

💌 Have ideas or want to contribute? Create an issue and share your thoughts with us!
📑 Check out the documentation for more information.
📬 Subscribe to the Hyperspace PR Bot DL to get the latest announcements and pilot features!

Made with ❤️ by Hyperspace.

@schiwekM schiwekM deployed to npmjs:@cap-js/data-privacy April 15, 2026 10:53 — with GitHub Actions Active
@schiwekM schiwekM enabled auto-merge (squash) April 15, 2026 10:56
@schiwekM schiwekM disabled auto-merge April 15, 2026 10:57
@SirSimon04 SirSimon04 enabled auto-merge (squash) April 15, 2026 10:59
@SirSimon04 SirSimon04 merged commit e2c45ae into main Apr 15, 2026
18 checks passed
@SirSimon04 SirSimon04 deleted the chore/prepare-initial-release branch April 15, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants