Skip to content

Commit af44420

Browse files
regularfryfrankierobertocolinrotherham
authored
Bump the node version in .nvmrc to v22 (#262)
* Bump the node version in .nvmrc to v22 * Use the LTS version name of node 22 Co-authored-by: Colin Rotherham <[email protected]> * Use node version in file * Use node version in file * Use node version from file * Fix Rollup Node.js deprecation --------- Co-authored-by: Frankie Roberto <[email protected]> Co-authored-by: Colin Rotherham <[email protected]>
1 parent 727ba0a commit af44420

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Node.js
1515
uses: actions/setup-node@v2
1616
with:
17-
node-version: '18.x'
17+
node-version-file: .nvmrc
1818
- name: Enable corepack
1919
run: corepack enable
2020
- name: Set Yarn version

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Node.js
1717
uses: actions/setup-node@v2
1818
with:
19-
node-version: '18.x'
19+
node-version-file: .nvmrc
2020

2121
- name: Enable corepack
2222
run: corepack enable

.github/workflows/storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Node.js
1818
uses: actions/setup-node@v2
1919
with:
20-
node-version: '18.x'
20+
node-version-file: .nvmrc
2121

2222
- name: Enable corepack
2323
run: corepack enable

.nvmrc

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

rollup.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { dts } from 'rollup-plugin-dts';
77
import tsPaths from 'rollup-plugin-tsconfig-paths';
88
import preserveDirectives from 'rollup-plugin-preserve-directives';
99

10-
import tsBuildConfig from './bundle-base.tsconfig.json' assert { type: 'json' };
11-
import packageJson from './package.json' assert { type: 'json' };
10+
import tsBuildConfig from './bundle-base.tsconfig.json' with { type: 'json' };
11+
import packageJson from './package.json' with { type: 'json' };
1212

1313
// suppresses warnings printed to console as part of bundling components with directives present.
1414
const onWarnSuppression = {

0 commit comments

Comments
 (0)