nodejs - Bump actions/- setup-node@v3.6.0, checkout@v3.5.3 & upload-artifact@v3.1.2 (#4865)
Summary: This diff bumps `actions/setup-node@v3.6.0`, `actions/checkout@v3.5.3` & `actions/upload-artifact@v3.1.2` ### Ref.: - `actions/checkout@v3.5.3` changelog: https://github.com/actions/checkout/releases/tag/v3.5.3 - `actions/setup-node@v3.6.0` changelog: https://github.com/actions/setup-node/releases/tag/v3.6.0 - `actions/upload-artifact@v3.1.2` changelog: https://github.com/actions/upload-artifact/releases/tag/v3.1.2 ## Changelog: [GENERAL] [SECURITY] - [Actions] `nodejs` - Bump `actions/`- `setup-node@v3.6.0`, `checkout@v3.5.3` & `upload-artifact@v3.1.2` Pull Request resolved: https://github.com/facebook/flipper/pull/4865 Test Plan: - Workflow should run and work as usual. Reviewed By: lblasa Differential Revision: D47128838 Pulled By: passy fbshipit-source-id: 2aba3f1b6d5f4819cbf13857cdb24b23bfc5cd84
This commit is contained in:
committed by
Facebook GitHub Bot
parent
883993d2ec
commit
14068f1ea8
18
.github/workflows/nodejs.yml
vendored
18
.github/workflows/nodejs.yml
vendored
@@ -1,25 +1,21 @@
|
|||||||
name: Desktop Node CI
|
name: Desktop Node CI
|
||||||
|
# This action run on 'git push' and PRs
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
desktop-directory: ./desktop
|
desktop-directory: ./desktop
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [14.x]
|
node-version: [14.x]
|
||||||
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
|
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3.5.3
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v3.6.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- name: Get yarn cache directory path
|
- name: Get yarn cache directory path
|
||||||
@@ -64,25 +60,25 @@ jobs:
|
|||||||
run: yarn build --win
|
run: yarn build --win
|
||||||
working-directory: ${{env.desktop-directory}}
|
working-directory: ${{env.desktop-directory}}
|
||||||
- name: upload linux artifact
|
- name: upload linux artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v3.1.2
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
with:
|
with:
|
||||||
name: Flipper-linux.zip
|
name: Flipper-linux.zip
|
||||||
path: dist/Flipper-linux.zip
|
path: dist/Flipper-linux.zip
|
||||||
- name: upload windows artifact
|
- name: upload windows artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v3.1.2
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
with:
|
with:
|
||||||
name: Flipper-win.zip
|
name: Flipper-win.zip
|
||||||
path: dist/Flipper-win.zip
|
path: dist/Flipper-win.zip
|
||||||
- name: upload mac zip artifact
|
- name: upload mac zip artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v3.1.2
|
||||||
if: matrix.os == 'macos-latest'
|
if: matrix.os == 'macos-latest'
|
||||||
with:
|
with:
|
||||||
name: Flipper-mac.zip
|
name: Flipper-mac.zip
|
||||||
path: dist/Flipper-mac.zip
|
path: dist/Flipper-mac.zip
|
||||||
- name: upload mac dmg artifact
|
- name: upload mac dmg artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v3.1.2
|
||||||
if: matrix.os == 'macos-latest'
|
if: matrix.os == 'macos-latest'
|
||||||
with:
|
with:
|
||||||
name: Flipper-mac.dmg
|
name: Flipper-mac.dmg
|
||||||
|
|||||||
Reference in New Issue
Block a user