CI - Bump Node JS to v18 in CI Pipeline (#4898)
Summary: This diff bumps Node JS to `v18` in CI Pipeline. Related PR: 1. https://github.com/facebook/flipper/issues/4897 ## Changelog [General] [Changed] - Bump Node JS to `v18` in CI Pipeline Pull Request resolved: https://github.com/facebook/flipper/pull/4898 Test Plan: - Should pass tests & builds successfully Reviewed By: lblasa Differential Revision: D47128828 Pulled By: passy fbshipit-source-id: b8d829b273898bf5e297560fbbdbafba80285b33
This commit is contained in:
committed by
Facebook GitHub Bot
parent
808895cef4
commit
94a2e33cb8
4
.github/workflows/js.yml
vendored
4
.github/workflows/js.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v3.5.3
|
||||||
- uses: actions/setup-node@v3.6.0
|
- uses: actions/setup-node@v3.6.0
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '18.x'
|
||||||
- name: yarn install (with retry)
|
- name: yarn install (with retry)
|
||||||
uses: nick-fields/retry@v2.8.3
|
uses: nick-fields/retry@v2.8.3
|
||||||
with:
|
with:
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v3.5.3
|
||||||
- uses: actions/setup-node@v3.6.0
|
- uses: actions/setup-node@v3.6.0
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '18.x'
|
||||||
- name: js-flipper - yarn install (with retry)
|
- name: js-flipper - yarn install (with retry)
|
||||||
uses: nick-fields/retry@v2.8.3
|
uses: nick-fields/retry@v2.8.3
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/nodejs-doctor.yml
vendored
2
.github/workflows/nodejs-doctor.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '18.x'
|
||||||
- name: install
|
- name: install
|
||||||
working-directory: ${{env.doctor-directory}}
|
working-directory: ${{env.doctor-directory}}
|
||||||
run: yarn
|
run: yarn
|
||||||
|
|||||||
2
.github/workflows/nodejs-pkg.yml
vendored
2
.github/workflows/nodejs-pkg.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '18.x'
|
||||||
- name: install
|
- name: install
|
||||||
working-directory: ${{env.pkg-directory}}
|
working-directory: ${{env.pkg-directory}}
|
||||||
run: yarn
|
run: yarn
|
||||||
|
|||||||
2
.github/workflows/nodejs.yml
vendored
2
.github/workflows/nodejs.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [14.x]
|
node-version: [18.x]
|
||||||
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
|
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v3.5.3
|
||||||
|
|||||||
2
.github/workflows/publish-npm.yml
vendored
2
.github/workflows/publish-npm.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '18.x'
|
||||||
- name: Install
|
- name: Install
|
||||||
run: yarn
|
run: yarn
|
||||||
- name: Set versions
|
- name: Set versions
|
||||||
|
|||||||
6
.github/workflows/react-native-example.yml
vendored
6
.github/workflows/react-native-example.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v2.1.5
|
- uses: actions/setup-node@v2.1.5
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: '18.x'
|
||||||
- uses: maxim-lobanov/setup-cocoapods@v1
|
- uses: maxim-lobanov/setup-cocoapods@v1
|
||||||
with:
|
with:
|
||||||
# Path to Podfile.lock file to determine Cocoapods version
|
# Path to Podfile.lock file to determine Cocoapods version
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v2.1.5
|
- uses: actions/setup-node@v2.1.5
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: '18.x'
|
||||||
- name: set up JDK
|
- name: set up JDK
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v2.1.5
|
- uses: actions/setup-node@v2.1.5
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: '18.x'
|
||||||
- uses: nuget/setup-nuget@v1
|
- uses: nuget/setup-nuget@v1
|
||||||
with:
|
with:
|
||||||
nuget-version: '5.x'
|
nuget-version: '5.x'
|
||||||
|
|||||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
|||||||
ref: ${{ needs.release.outputs.tag }}
|
ref: ${{ needs.release.outputs.tag }}
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '18.x'
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: nick-invision/retry@v2.6.0
|
uses: nick-invision/retry@v2.6.0
|
||||||
with:
|
with:
|
||||||
@@ -88,7 +88,7 @@ jobs:
|
|||||||
ref: ${{ needs.release.outputs.tag }}
|
ref: ${{ needs.release.outputs.tag }}
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '18.x'
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: nick-invision/retry@v2.6.0
|
uses: nick-invision/retry@v2.6.0
|
||||||
with:
|
with:
|
||||||
@@ -120,7 +120,7 @@ jobs:
|
|||||||
ref: ${{ needs.release.outputs.tag }}
|
ref: ${{ needs.release.outputs.tag }}
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '18.x'
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: nick-invision/retry@v2.6.0
|
uses: nick-invision/retry@v2.6.0
|
||||||
with:
|
with:
|
||||||
@@ -154,7 +154,7 @@ jobs:
|
|||||||
ref: ${{ needs.release.outputs.tag }}
|
ref: ${{ needs.release.outputs.tag }}
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '18.x'
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: nick-invision/retry@v2.0.0
|
uses: nick-invision/retry@v2.0.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user