Skip to content

Commit e254401

Browse files
committed
Updated node version in workflows
1 parent ee4eb07 commit e254401

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
git fetch origin pull/$GH_PR_NUM/head:tmp
1515
git checkout tmp
1616
fi
17-
- uses: actions/setup-node@v1
17+
- uses: actions/setup-node@v4
1818
with:
19-
node-version: '18'
19+
node-version: '20'
2020
- run: yarn install --frozen-lockfile
2121
- name: generate
2222
run: cd packages/module && yarn generate
@@ -35,9 +35,9 @@ jobs:
3535
git fetch origin pull/$GH_PR_NUM/head:tmp
3636
git checkout tmp
3737
fi
38-
- uses: actions/setup-node@v1
38+
- uses: actions/setup-node@v4
3939
with:
40-
node-version: '18'
40+
node-version: '20'
4141
- run: yarn install --frozen-lockfile
4242
- name: ESLint
4343
run: yarn lint:js
@@ -57,9 +57,9 @@ jobs:
5757
git fetch origin pull/$GH_PR_NUM/head:tmp
5858
git checkout tmp
5959
fi
60-
- uses: actions/setup-node@v1
60+
- uses: actions/setup-node@v4
6161
with:
62-
node-version: '18'
62+
node-version: '20'
6363
- run: yarn install --frozen-lockfile
6464
- name: generate
6565
run: cd packages/module && yarn generate
@@ -81,9 +81,9 @@ jobs:
8181
git fetch origin pull/$GH_PR_NUM/head:tmp
8282
git checkout tmp
8383
fi
84-
- uses: actions/setup-node@v1
84+
- uses: actions/setup-node@v4
8585
with:
86-
node-version: '18'
86+
node-version: '20'
8787
- run: yarn install --frozen-lockfile
8888
- name: generate
8989
run: cd packages/module && yarn generate

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
- name: Run build script
1818
run: ./devSetup.sh
1919
shell: bash
20-
- uses: actions/setup-node@v1
20+
- uses: actions/setup-node@v4
2121
with:
22-
node-version: '18'
22+
node-version: '20'
2323
- run: yarn install --frozen-lockfile
2424
- name: Build dist
2525
run: yarn build

.github/workflows/pr-preview.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
git log origin/main..HEAD --format="%b"
2222
# Yes, we really want to checkout the PR
2323
# Injected by generate-workflows.js
24-
- uses: actions/setup-node@v1
24+
- uses: actions/setup-node@v4
2525
with:
26-
node-version: '18'
26+
node-version: '20'
2727
- run: yarn install --frozen-lockfile
2828
- run: yarn lint:js
2929
name: Lint JS
@@ -37,4 +37,4 @@ jobs:
3737
name: Build docs
3838
- run: node .github/upload-preview.js packages/module/public
3939
name: Upload docs
40-
if: always()
40+
if: always()

.github/workflows/promote.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- name: Build for promotion
1717
run: yarn install --frozen-lockfile && yarn build
18-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v4
1919
with:
20-
node-version: '18'
20+
node-version: '20'
2121
registry-url: 'https://registry.npmjs.org'
2222
- name: GitHub Tag Name example
2323
run: |

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1515
steps:
1616
- uses: actions/checkout@v2
17-
- uses: actions/setup-node@v1
17+
- uses: actions/setup-node@v4
1818
with:
19-
node-version: '18'
19+
node-version: '20'
2020
- run: yarn install --frozen-lockfile
2121
- name: generate
2222
run: cd packages/module && yarn generate

0 commit comments

Comments
 (0)