From f904587a0d4d3d745028f08776b2804d5303a5ea Mon Sep 17 00:00:00 2001 From: "Devin.Zhu" Date: Thu, 7 Dec 2023 11:33:10 +0800 Subject: [PATCH] build(node-version, babel-config): Upgrade Node version and Babel preset --- .github/workflows/test.yml | 2 +- .nvmrc | 2 +- babel.config.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f3feba1..d222271 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout diff --git a/.nvmrc b/.nvmrc index 3c03207..209e3ef 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 +20 diff --git a/babel.config.js b/babel.config.js index f842b77..f7b3da3 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], };