Add Windows to GitHub Actions CI matrix
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/741 Reviewed By: jknoxville Differential Revision: D19371114 fbshipit-source-id: 07c6bd71e58011cc3fffa34354546eb773e3fc3d
This commit is contained in:
committed by
Facebook Github Bot
parent
11e134e87c
commit
5fd8db294a
9
.github/workflows/nodejs.yml
vendored
9
.github/workflows/nodejs.yml
vendored
@@ -5,11 +5,12 @@ on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [10.x, 12.x]
|
||||
os: ['ubuntu-latest', 'windows-latest']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
@@ -23,5 +24,9 @@ jobs:
|
||||
run: yarn lint
|
||||
- name: test
|
||||
run: yarn test
|
||||
- name: build
|
||||
- name: build linux
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: yarn build --linux
|
||||
- name: build windows
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: yarn build --win
|
||||
|
||||
Reference in New Issue
Block a user