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:
Pranav Yadav
2023-06-30 03:25:05 -07:00
committed by Facebook GitHub Bot
parent 808895cef4
commit 94a2e33cb8
7 changed files with 13 additions and 13 deletions

View File

@@ -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:

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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'

View File

@@ -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: