From 2c252be2bac40973f4ab53511500c3a469739b90 Mon Sep 17 00:00:00 2001 From: Austin Date: Mon, 21 Nov 2022 07:18:19 -0500 Subject: [PATCH] update node env --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .storybook/main.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5df5053..e983bdc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,10 +14,10 @@ jobs: with: fetch-depth: 0 - - name: Use Node.js 12.x + - name: Use Node.js 14.x uses: actions/setup-node@v1 with: - version: 12.x + version: 14.x - name: Install deps and build (with cache) uses: bahmutov/npm-install@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5019654..9eea0fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,10 +15,10 @@ jobs: with: fetch-depth: 0 - - name: Use Node.js 12.x + - name: Use Node.js 14.x uses: actions/setup-node@v1 with: - version: 12.x + version: 14.x - name: Install deps and build (with cache) uses: bahmutov/npm-install@v1 diff --git a/.storybook/main.js b/.storybook/main.js index 9aaa44c..0b4b711 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -7,7 +7,7 @@ module.exports = { '@storybook/addon-essentials', 'storybook-dark-mode' ], - webpackFinal: async (config, { configType }) => { + webpackFinal: async config => { config.module.rules.push({ type: 'javascript/auto', test: /\.mjs$/,