Skip to content

Commit

Permalink
[CI] Migrate to GitHub Actions (#395)
Browse files Browse the repository at this point in the history
* Add workflow file

* Remove Travis / AppVeyor config

* Update README.md
  • Loading branch information
jhen0409 committed Sep 4, 2019
1 parent e0f2402 commit bb99fa1
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 61 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/main.yml
@@ -0,0 +1,43 @@
name: CI

on: [push]

jobs:
build-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-10.14, ubuntu-18.04]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 9.x
- name: CI
run: |
if [[ "$OSTYPE" == "linux-gnu" ]]; then
export DISPLAY=:99.0
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
fi
npm i -g xvfb-maybe
yarn
cd npm-package && yarn && cd ..
yarn lint
yarn test
yarn build
xvfb-maybe yarn test-e2e
build-test-windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 9.x
- name: CI
run: |
yarn
cd npm-package && yarn && cd ..
yarn lint
yarn build
yarn test
yarn test-e2e
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# React Native Debugger

[![Backers on Open Collective](https://opencollective.com/react-native-debugger/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-native-debugger/sponsors/badge.svg)](#sponsors) [![Build Status](https://travis-ci.org/jhen0409/react-native-debugger.svg?branch=master)](https://travis-ci.org/jhen0409/react-native-debugger) [![Build status Windows](https://ci.appveyor.com/api/projects/status/botj7b3pj4hth6tn/branch/master?svg=true)](https://ci.appveyor.com/project/jhen0409/react-native-debugger) [![Dependency Status](https://david-dm.org/jhen0409/react-native-debugger.svg)](https://david-dm.org/jhen0409/react-native-debugger) [![devDependency Status](https://david-dm.org/jhen0409/react-native-debugger/dev-status.svg)](https://david-dm.org/jhen0409/react-native-debugger?type=dev)
[![Backers on Open Collective](https://opencollective.com/react-native-debugger/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-native-debugger/sponsors/badge.svg)](#sponsors) [![CI Status](https://github.com/jhen0409/react-native-debugger/workflows/CI/badge.svg)](https://github.com/jhen0409/react-native-debugger) [![Dependency Status](https://david-dm.org/jhen0409/react-native-debugger.svg)](https://david-dm.org/jhen0409/react-native-debugger) [![devDependency Status](https://david-dm.org/jhen0409/react-native-debugger/dev-status.svg)](https://david-dm.org/jhen0409/react-native-debugger?type=dev)

![React Native Debugger](https://user-images.githubusercontent.com/3001525/29451479-6621bf1a-83c8-11e7-8ebb-b4e98b1af91c.png)

Expand Down
19 changes: 0 additions & 19 deletions appveyor.yml

This file was deleted.

26 changes: 0 additions & 26 deletions scripts/travis-build.sh

This file was deleted.

0 comments on commit bb99fa1

Please sign in to comment.