77 - ' */*'
88
99env :
10- CI_TOOLS_VERSION : ' ^4.2 .0'
10+ CI_TOOLS_VERSION : ' ^5.0 .0'
1111 # NOTE: Um den Releasezyklus von Alpha nach Beta zu ändern, einfach die nachfolgend deklarierten Env Variablen switchen.
1212 CI_TOOLS_ALPHA_BRANCH : next
1313 CI_TOOLS_ALPHA_NPM_TAG : next
14- CI_TOOLS_STABLE_BRANCH : main
1514 # CI_TOOLS_BETA_BRANCH: next
1615 # CI_TOOLS_BETA_NPM_TAG: next
17- # BOX_RELEASE_TAG: 2024 -1
16+ BOX_RELEASE_TAG : 2025 -1
1817
1918jobs :
2019 build_and_publish :
@@ -28,10 +27,10 @@ jobs:
2827 fetch-depth : 0
2928 token : ${{ secrets.GH_TOKEN }}
3029
31- - name : Use Node.js 20
30+ - name : Use Node.js 22
3231 uses : actions/setup-node@v4
3332 with :
34- node-version : ' 20 '
33+ node-version : ' 22 '
3534 registry-url : ' https://registry.npmjs.org'
3635
3736 - name : Install CI Tools
@@ -63,10 +62,11 @@ jobs:
6362 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
6463 run : ci_tools publish-npm-package --create-tag-from-branch-name
6564
66- # - name: Add Box-Release Tag
67- # if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next'
68- # env:
69- # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
70- # run: |
71- # VERSION="$(ci_tools get-version)"
72- # npm dist-tag add @5minds/processcube_app_sdk@$VERSION ${{ env.BOX_RELEASE_TAG }}
65+ - name : Add Box-Release Tag
66+ if : github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next'
67+ env :
68+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
69+ run : |
70+ VERSION="$(ci_tools get-version)"
71+ PACKAGE_NAME="$(npm pkg get name | tr -d \")"
72+ npm dist-tag add $PACKAGE_NAME@$VERSION ${{ env.BOX_RELEASE_TAG }}
0 commit comments