Re-enable github actions (#655)
Summary:
This reverts commit 5bd0cd3d63 and adds back the github actions which were temporarily disabled.
Pull Request resolved: https://github.com/facebook/flipper/pull/655
Reviewed By: passy
Differential Revision: D18656754
Pulled By: jknoxville
fbshipit-source-id: 9dc9a9aa4224f996677ddfbaf37387ae0b066c56
This commit is contained in:
committed by
Facebook Github Bot
parent
c685493db0
commit
33a63c9c5b
27
.github/workflows/android.yml
vendored
Normal file
27
.github/workflows/android.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
name: Publish Sample App
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: set up JDK 1.8
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 1.8
|
||||||
|
- name: Build with Gradle
|
||||||
|
run: ./gradlew sample:assembleDebug
|
||||||
|
- name: Rename apk
|
||||||
|
run: mv android/sample/build/outputs/apk/debug/sample-debug.apk SampleApp-android.apk
|
||||||
|
- name: Upload
|
||||||
|
uses: skx/github-action-publish-binaries@master
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
args: 'SampleApp-android.apk'
|
||||||
27
.github/workflows/nodejs.yml
vendored
Normal file
27
.github/workflows/nodejs.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user