Skip to content

Commit a141a13

Browse files
authored
chore: update node and version storybook (#283)
1 parent 7792e63 commit a141a13

File tree

12 files changed

+16279
-25193
lines changed

12 files changed

+16279
-25193
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Node
1919
uses: actions/setup-node@v2
2020
with:
21-
node-version: 18
21+
node-version: 20
2222
cache: npm
2323
- name: Install Packages
2424
run: npm ci
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup Node
3939
uses: actions/setup-node@v2
4040
with:
41-
node-version: 18
41+
node-version: 20
4242
cache: npm
4343
- name: Install Packages
4444
run: npm ci

.github/workflows/main-preview.yml

Lines changed: 1 addition & 1 deletion
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

.github/workflows/playwright.yml

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 dependencies
1919
run: npm ci

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
steps:
1111
- uses: gravity-ui/preview-build-action@v2
1212
with:
13-
node-version: 18
13+
node-version: 20

.github/workflows/release-beta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/checkout@v4
2727
- uses: actions/setup-node@v4
2828
with:
29-
node-version: 18
29+
node-version: 20
3030
registry-url: 'https://registry.npmjs.org'
3131
- name: Install Packages
3232
run: npm ci

.github/workflows/release-v3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
with:
1313
github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }}
1414
npm-token: ${{ secrets.GRAVITY_UI_BOT_NPM_TOKEN }}
15-
node-version: 18
15+
node-version: 20
1616
npm-dist-tag: untagged
1717
default-branch: v3

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
with:
1313
github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }}
1414
npm-token: ${{ secrets.GRAVITY_UI_BOT_NPM_TOKEN }}
15-
node-version: 18
15+
node-version: 20

.nvmrc

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

.storybook/main.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,20 @@ const config: StorybookConfig = {
88
{
99
name: '@storybook/addon-essentials',
1010
options: {
11-
controls: false,
1211
actions: false,
12+
backgrounds: false,
13+
controls: false,
14+
measure: false,
15+
outline: false,
16+
toolbars: true,
17+
viewport: false,
18+
docs: true,
1319
},
1420
},
1521
'@storybook/preset-scss',
22+
'@storybook/addon-webpack5-compiler-swc',
1623
],
24+
1725
framework: {
1826
name: '@storybook/react-webpack5',
1927
options: {fastRefresh: true},

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const BUILD_DIR = path.resolve('build');
1111

1212
task('clean', (done) => {
1313
rimraf.sync(BUILD_DIR);
14-
rimraf.sync('styles/**/*.css', { glob: true });
14+
rimraf.sync('styles/**/*.css', {glob: true});
1515
done();
1616
});
1717

0 commit comments

Comments
 (0)