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)" diff --git a/packages/i18n/package.json b/packages/i18n/package.json index de13a35..7fcc6fa 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -1,6 +1,17 @@ { "name": "@serverlessworkflow/i18n", - "version": "1.0.0", + "version": "0.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"