diff --git a/.circleci/config.yml b/.circleci/config.yml index 58f971099..2c7a54d4d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ jobs: checkout_code: docker: - - image: circleci/node:10 + - image: circleci/node:16 steps: - checkout - persist_to_workspace: @@ -9,7 +9,7 @@ jobs: paths: . analyse_js: docker: - - image: circleci/node:10 + - image: circleci/node:16 steps: - attach_workspace: at: . diff --git a/.github/workflows/lint_build.yml b/.github/workflows/lint_build.yml index ffa290ebe..f8ff65007 100644 --- a/.github/workflows/lint_build.yml +++ b/.github/workflows/lint_build.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Get yarn cache id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: diff --git a/.github/workflows/production_build.yaml b/.github/workflows/production_build.yaml index 1fbb816e6..dc698d482 100644 --- a/.github/workflows/production_build.yaml +++ b/.github/workflows/production_build.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Get yarn cache id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" @@ -67,7 +67,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 647c62d18..014f32a33 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Set release version and build number env id: version-format run: | @@ -76,7 +76,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: diff --git a/package.json b/package.json index 5c5cf27ae..35ded9d32 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "likecoin-app", "version": "0.31.3", "private": true, + "engine": { + "node": ">=16" + }, "scripts": { "start": "react-native start", "start:clean": "react-native start --reset-cache",