Skip to content

Commit 680a66c

Browse files
Merge pull request #362 from eccenca/maintain/changeNodeForWorkers-CMEM-7141
Use node lts/krypton for Github workflows (CMEM-7141)
2 parents b2c3a26 + c875ec6 commit 680a66c

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

.github/workflows/create-release-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@main
2323
- uses: actions/setup-node@main
2424
with:
25-
node-version: "18"
25+
node-version: "lts/krypton"
2626
- name: Check and save dispatched branch
2727
id: dispatched-branch
2828
run: |

.github/workflows/deployment-storybook.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@ on:
55
paths:
66
- "src/**"
77
- ".storybook/**"
8+
- ".github/workflows/deployment-storybook.yml"
89
- "index.ts"
10+
- package.json
911
- yarn.lock
1012
push:
1113
branches:
1214
- "develop"
1315
paths:
1416
- "src/**"
1517
- ".storybook/**"
18+
- ".github/workflows/deployment-storybook.yml"
1619
- "index.ts"
20+
- package.json
1721
- yarn.lock
1822

1923
jobs:
@@ -33,7 +37,7 @@ jobs:
3337
git log --oneline -1
3438
- uses: actions/setup-node@main
3539
with:
36-
node-version: "18"
40+
node-version: "lts/krypton"
3741
- name: Install dependencies
3842
run: yarn install
3943
- name: Create jest results

.github/workflows/publish-featurefix-prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
git config user.email "${{ github.actor }}@users.noreply.github.com"
4343
- uses: actions/setup-node@main
4444
with:
45-
node-version: "18"
45+
node-version: "lts/krypton"
4646
- name: Create pre-release version number
4747
run: |
4848
preid=$(echo ${{ steps.branch-name.outputs.current_branch }} | tr '[:upper:]' '[:lower:]' | sed 's=[^[:alnum:][:space:]"]==g')

.github/workflows/publish-final-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
git config user.email "${{ github.actor }}@users.noreply.github.com"
4444
- uses: actions/setup-node@main
4545
with:
46-
node-version: "18"
46+
node-version: "lts/krypton"
4747
- name: Get version
4848
id: package-version
4949
run: echo "version=$(node -p -e "require('./package.json').version.split('-').shift()")" >> $GITHUB_OUTPUT

.github/workflows/publish-release-candidate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
git config user.email "${{ github.actor }}@users.noreply.github.com"
4040
- uses: actions/setup-node@main
4141
with:
42-
node-version: "18"
42+
node-version: "lts/krypton"
4343
- name: Create release candidate version number
4444
run: |
4545
preid="rc"

.github/workflows/push-tagged-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
ref: ${{ inputs.ref }}
3737
- uses: actions/setup-node@main
3838
with:
39-
node-version: "18"
39+
node-version: "lts/krypton"
4040
registry-url: "https://registry.npmjs.org"
4141
- name: Set name vars
4242
id: info-vars

.github/workflows/test-code.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: "🧪 Test: code"
33
on:
44
pull_request:
55
paths:
6+
- ".github/workflows/test-code.yml"
67
- "src/**.js"
78
- "src/**.ts"
89
- "src/**.tsx"
@@ -19,7 +20,7 @@ jobs:
1920
- name: Test using Node.js
2021
uses: actions/setup-node@main
2122
with:
22-
node-version: "18"
23+
node-version: "lts/krypton"
2324
- run: yarn install
2425
- run: yarn compile
2526
- run: yarn compile-scss

0 commit comments

Comments
 (0)