From 48c394f441387e35b2e7cc51f6811ea2a939ea21 Mon Sep 17 00:00:00 2001 From: fantonangeli Date: Thu, 16 Apr 2026 17:50:11 +0200 Subject: [PATCH 1/3] Checks creation Signed-off-by: fantonangeli --- .github/workflows/ci_build.yaml | 5 +++++ .github/workflows/ci_check_license_headers.yaml | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/.github/workflows/ci_build.yaml b/.github/workflows/ci_build.yaml index 39dd78f..25f03bd 100644 --- a/.github/workflows/ci_build.yaml +++ b/.github/workflows/ci_build.yaml @@ -56,6 +56,11 @@ jobs: version: 10.31.0 cache: true + - name: Check package versions + shell: bash + run: | + pnpm -r exec node -e "process.exit(require('./package.json').version === '0.0.0' ? 0 : 1)" + - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/.github/workflows/ci_check_license_headers.yaml b/.github/workflows/ci_check_license_headers.yaml index a33fbd0..9cdb343 100644 --- a/.github/workflows/ci_check_license_headers.yaml +++ b/.github/workflows/ci_check_license_headers.yaml @@ -34,6 +34,17 @@ jobs: - name: Checkout code uses: actions/checkout@v6 + - name: Setup Node + uses: actions/setup-node@v6 + with: + node-version: 24 + + - name: Setup pnpm + uses: pnpm/action-setup@v5 + with: + version: 10.31.0 + cache: true + - name: "Setup JDK 17" uses: actions/setup-java@v5 with: @@ -97,3 +108,8 @@ jobs: else echo "✅ Apache RAT check PASSED - All files have approved licenses." fi + + - name: Check package.json licenses + shell: bash + run: | + pnpm -r exec node -e "process.exit(require('./package.json').license === 'Apache-2.0' ? 0 : 1)" From e0a29451331176c64d1be17f9dcd74d9b5f65ff1 Mon Sep 17 00:00:00 2001 From: fantonangeli Date: Thu, 16 Apr 2026 18:01:24 +0200 Subject: [PATCH 2/3] Package.json fix Signed-off-by: fantonangeli --- packages/i18n/package.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/i18n/package.json b/packages/i18n/package.json index de13a35..224da71 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -1,6 +1,17 @@ { "name": "@serverlessworkflow/i18n", "version": "1.0.0", + "description": "Serverless workflow internationalization component", + "keywords": [], + "homepage": "https://github.com/serverlessworkflow/editor", + "bugs": { + "url": "https://github.com/serverlessworkflow/editor/issues" + }, + "license": "Apache-2.0", + "repository": { + "type": "git", + "url": "https://github.com/serverlessworkflow/editor.git" + }, "files": [ "dist", "src" From 459235f1c917cc8bf6679fc0d7db5668a3a67a66 Mon Sep 17 00:00:00 2001 From: fantonangeli Date: Thu, 16 Apr 2026 18:03:14 +0200 Subject: [PATCH 3/3] Fix version Signed-off-by: fantonangeli --- packages/i18n/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 224da71..7fcc6fa 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@serverlessworkflow/i18n", - "version": "1.0.0", + "version": "0.0.0", "description": "Serverless workflow internationalization component", "keywords": [], "homepage": "https://github.com/serverlessworkflow/editor",