Set up pkg GitHub Action (#848)

Summary:
Setting up another action for `flipper-pkg`.
Pull Request resolved: https://github.com/facebook/flipper/pull/848

Reviewed By: nikoant

Differential Revision: D20191654

Pulled By: passy

fbshipit-source-id: 18e8fd7f697fe9a7f11c85d13b50322cbd218d12
This commit is contained in:
Pascal Hartig
2020-03-03 09:23:23 -08:00
committed by Facebook Github Bot
parent d1fb8bed4a
commit 26a5a87158
2 changed files with 27 additions and 1 deletions

26
.github/workflows/nodejs-pkg.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: PKG Node CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: install
working-directory: pkg
run: yarn
- name: lint
working-directory: pkg
run: yarn lint
- name: test
working-directory: pkg
run: yarn test
- name: run
working-directory: pkg
run: bin/run

View File

@@ -1,4 +1,4 @@
name: Node CI name: Flipper Node CI
on: [push, pull_request] on: [push, pull_request]