diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f35ea428..aaf9601b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: '18.x' + node-version-file: .nvmrc - name: Enable corepack run: corepack enable - name: Set Yarn version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 307cc4e1..c3d4732f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: '18.x' + node-version-file: .nvmrc - name: Enable corepack run: corepack enable diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index e324a237..15171f8a 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: '18.x' + node-version-file: .nvmrc - name: Enable corepack run: corepack enable diff --git a/.nvmrc b/.nvmrc index 25bf17fc..deed13c0 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 \ No newline at end of file +lts/jod diff --git a/rollup.config.mjs b/rollup.config.mjs index efbc3a58..7dc3c972 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -7,8 +7,8 @@ import { dts } from 'rollup-plugin-dts'; import tsPaths from 'rollup-plugin-tsconfig-paths'; import preserveDirectives from 'rollup-plugin-preserve-directives'; -import tsBuildConfig from './bundle-base.tsconfig.json' assert { type: 'json' }; -import packageJson from './package.json' assert { type: 'json' }; +import tsBuildConfig from './bundle-base.tsconfig.json' with { type: 'json' }; +import packageJson from './package.json' with { type: 'json' }; // suppresses warnings printed to console as part of bundling components with directives present. const onWarnSuppression = {