Skip to content

Commit 9310f48

Browse files
committed
chore: use nodejs v20
1 parent a3f7cf0 commit 9310f48

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Node
2323
uses: actions/setup-node@v2
2424
with:
25-
node-version: '18.x'
25+
node-version: 20
2626
cache: 'npm'
2727
- name: Install Packages
2828
run: npm ci

.github/workflows/main-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/setup-node@v2
1818
with:
19-
node-version: 18
19+
node-version: 20
2020
- name: Install Packages
2121
run: npm ci
2222
shell: bash
@@ -26,7 +26,7 @@ jobs:
2626
- name: Upload to S3
2727
uses: gravity-ui/preview-upload-to-s3-action@v1
2828
with:
29-
node-version: 18
29+
node-version: 20
3030
src-path: storybook-static
3131
dest-path: /react-unipika/main/
3232
s3-key-id: ${{ secrets.STORYBOOK_S3_KEY_ID }}

.github/workflows/pr-preview-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
steps:
1111
- uses: gravity-ui/preview-build-action@v2
1212
with:
13-
node-version: 18
13+
node-version: 20
1414
env:
1515
TS_NODE_PROJECT: .storybook/tsconfig.json

.github/workflows/pr-visual-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 18
16+
node-version: 20
1717
cache: npm
1818
- name: Install Packages
1919
run: npm ci

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }}
1818
npm-token: ${{ secrets.GRAVITY_UI_BOT_NPM_TOKEN }}
19-
node-version: 18
19+
node-version: 20
2020
default-branch: ${{ github.ref_name != 'main' && github.ref_name || null }}
2121
npm-dist-tag: ${{ github.ref_name != 'main' && github.ref_name || 'latest' }}
2222
prerelease: ${{ github.ref_name == 'next' && true || null }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

0 commit comments

Comments
 (0)