You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
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.
Adjust release action