diff --git a/.github/workflows/create-release-branch.yml b/.github/workflows/create-release-branch.yml index 6ec7909d..3f6ed9b4 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 9c5c2105..023edf66 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: @@ -33,7 +37,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 f5cbc4e7..5a4ef21a 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 979a78f7..3b4e7e4f 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 0b6c4506..fc088609 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 81902bc9..dace7bba 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 54096dd4..33004034 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" @@ -19,7 +20,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