Files
flipper/.github/workflows/nodejs.yml
Pascal Hartig 1d7b194abb Run lint and build step (#583)
Summary:
This should just work, but let's see what CI says.
Pull Request resolved: https://github.com/facebook/flipper/pull/583

Reviewed By: jknoxville

Differential Revision: D17906598

Pulled By: passy

fbshipit-source-id: 5de686c8c9b23b101999da938d6e8f9baff7bc86
2019-10-14 08:37:36 -07:00

28 lines
489 B
YAML

name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: yarn install
run: yarn
- name: lint
run: yarn lint
- name: test
run: yarn test
- name: build
run: yarn build --linux