Skip to content

Commit 1a6a5c4

Browse files
authored
feat: Bump react to LTS v18 (#1392)
1 parent 688e5d8 commit 1a6a5c4

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [16.x, 17.x]
16+
node-version: [16.x, 17.x, 18.x]
1717

1818
steps:
1919
- name: Checkout repo

.github/workflows/npm.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
- uses: actions/checkout@v2
1919
- name: Prepare repository
2020
run: git fetch --unshallow --tags
21-
- name: Use Node.js 16.x
21+
- name: Use Node.js 18.x
2222
uses: actions/setup-node@v1
2323
with:
24-
node-version: 16.x
24+
node-version: 18.x
2525
- name: Cache node modules
2626
uses: actions/cache@v1
2727
with:

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v17.4.0
1+
v18.12.1

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ const commands = [{
5050

5151
const container = document.getElementById('app');
5252
const root = createRoot(container);
53-
root.render(
54-
<CommandPalette commands={commands} />)
53+
root.render(<CommandPalette commands={commands} />)
5554
```
5655

5756
## Props

0 commit comments

Comments
 (0)