From 1a8f3f1d9ce4b9f15bc474a1ae3a1b1cfddf511a Mon Sep 17 00:00:00 2001 From: Michael Haschke Date: Tue, 9 Dec 2025 12:51:19 +0100 Subject: [PATCH 1/2] use node lts/krypton --- .github/workflows/create-release-branch.yml | 2 +- .github/workflows/deployment-storybook.yml | 2 +- .github/workflows/publish-featurefix-prerelease.yml | 2 +- .github/workflows/publish-final-release.yml | 2 +- .github/workflows/publish-release-candidate.yml | 2 +- .github/workflows/push-tagged-release.yml | 2 +- .github/workflows/test-code.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/create-release-branch.yml b/.github/workflows/create-release-branch.yml index 6ec7909d9..3f6ed9b4d 100644 --- a/.github/workflows/create-release-branch.yml +++ b/.github/workflows/create-release-branch.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@main - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - name: Check and save dispatched branch id: dispatched-branch run: | diff --git a/.github/workflows/deployment-storybook.yml b/.github/workflows/deployment-storybook.yml index 9c5c2105f..4b3520d6e 100644 --- a/.github/workflows/deployment-storybook.yml +++ b/.github/workflows/deployment-storybook.yml @@ -33,7 +33,7 @@ jobs: git log --oneline -1 - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - name: Install dependencies run: yarn install - name: Create jest results diff --git a/.github/workflows/publish-featurefix-prerelease.yml b/.github/workflows/publish-featurefix-prerelease.yml index f5cbc4e75..5a4ef21a9 100644 --- a/.github/workflows/publish-featurefix-prerelease.yml +++ b/.github/workflows/publish-featurefix-prerelease.yml @@ -42,7 +42,7 @@ jobs: git config user.email "${{ github.actor }}@users.noreply.github.com" - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - name: Create pre-release version number run: | preid=$(echo ${{ steps.branch-name.outputs.current_branch }} | tr '[:upper:]' '[:lower:]' | sed 's=[^[:alnum:][:space:]"]==g') diff --git a/.github/workflows/publish-final-release.yml b/.github/workflows/publish-final-release.yml index 979a78f71..3b4e7e4f6 100644 --- a/.github/workflows/publish-final-release.yml +++ b/.github/workflows/publish-final-release.yml @@ -43,7 +43,7 @@ jobs: git config user.email "${{ github.actor }}@users.noreply.github.com" - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - name: Get version id: package-version run: echo "version=$(node -p -e "require('./package.json').version.split('-').shift()")" >> $GITHUB_OUTPUT diff --git a/.github/workflows/publish-release-candidate.yml b/.github/workflows/publish-release-candidate.yml index 0b6c45061..fc0886093 100644 --- a/.github/workflows/publish-release-candidate.yml +++ b/.github/workflows/publish-release-candidate.yml @@ -39,7 +39,7 @@ jobs: git config user.email "${{ github.actor }}@users.noreply.github.com" - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - name: Create release candidate version number run: | preid="rc" diff --git a/.github/workflows/push-tagged-release.yml b/.github/workflows/push-tagged-release.yml index 81902bc97..dace7bba3 100644 --- a/.github/workflows/push-tagged-release.yml +++ b/.github/workflows/push-tagged-release.yml @@ -36,7 +36,7 @@ jobs: ref: ${{ inputs.ref }} - uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" registry-url: "https://registry.npmjs.org" - name: Set name vars id: info-vars diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index 54096dd4a..747abee46 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -19,7 +19,7 @@ jobs: - name: Test using Node.js uses: actions/setup-node@main with: - node-version: "18" + node-version: "lts/krypton" - run: yarn install - run: yarn compile - run: yarn compile-scss From c875ec6c2a16f25c7ce2ef30fc3d2dcc68f3a06a Mon Sep 17 00:00:00 2001 From: Michael Haschke Date: Tue, 9 Dec 2025 14:11:17 +0100 Subject: [PATCH 2/2] re-run workflows if they were changed --- .github/workflows/deployment-storybook.yml | 4 ++++ .github/workflows/test-code.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/deployment-storybook.yml b/.github/workflows/deployment-storybook.yml index 4b3520d6e..023edf66b 100644 --- a/.github/workflows/deployment-storybook.yml +++ b/.github/workflows/deployment-storybook.yml @@ -5,7 +5,9 @@ on: paths: - "src/**" - ".storybook/**" + - ".github/workflows/deployment-storybook.yml" - "index.ts" + - package.json - yarn.lock push: branches: @@ -13,7 +15,9 @@ on: paths: - "src/**" - ".storybook/**" + - ".github/workflows/deployment-storybook.yml" - "index.ts" + - package.json - yarn.lock jobs: diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index 747abee46..330040345 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -3,6 +3,7 @@ name: "🧪 Test: code" on: pull_request: paths: + - ".github/workflows/test-code.yml" - "src/**.js" - "src/**.ts" - "src/**.tsx"