Skip to content

Commit f0282cb

Browse files
committed
use GitHub Actions for CI instead of TravisCI
1 parent ab8dcb7 commit f0282cb

File tree

5 files changed

+226
-190
lines changed

5 files changed

+226
-190
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
matrix:
17+
node-version: [10.x]
18+
19+
steps:
20+
- uses: actions/checkout@v1
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
- name: yarn install, build, and test
26+
run: |
27+
yarn --frozen-lockfile
28+
yarn typecheck
29+
yarn lint
30+
yarn test --ci --coverage
31+
yarn build
32+
bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
33+
env:
34+
CI: true

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
[![npm downloads](https://img.shields.io/npm/dm/react-popper-tooltip.svg?style=flat-square)](https://www.npmjs.com/package/react-popper-tooltip)
55
[![codecov](https://codecov.io/gh/mohsinulhaq/react-popper-tooltip/branch/master/graph/badge.svg)](https://codecov.io/gh/mohsinulhaq/react-popper-tooltip)
66
[![Dependency Status](https://img.shields.io/david/mohsinulhaq/react-popper-tooltip.svg?style=flat-square)](https://david-dm.org/mohsinulhaq/react-popper-tooltip)
7-
[![Build Status](https://travis-ci.com/mohsinulhaq/react-popper-tooltip.svg?branch=master)](https://travis-ci.com/mohsinulhaq/react-popper-tooltip)
87

98
React tooltip component based on [react-popper](https://github.com/FezVrasta/react-popper), the React wrapper around [popper.js](https://popper.js.org/) library.
109

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@
5050
"react-popper": "^1.3.4"
5151
},
5252
"devDependencies": {
53-
"@babel/cli": "^7.6.3",
54-
"@babel/core": "^7.6.3",
53+
"@babel/cli": "^7.6.4",
54+
"@babel/core": "^7.6.4",
5555
"@babel/plugin-proposal-class-properties": "^7.5.5",
5656
"@babel/plugin-transform-runtime": "^7.6.2",
5757
"@babel/preset-env": "^7.6.3",
5858
"@babel/preset-react": "^7.6.3",
5959
"@babel/preset-typescript": "^7.6.0",
6060
"@testing-library/react": "^9.3.0",
61-
"@types/jest": "^24.0.18",
62-
"@types/react": "^16.9.5",
63-
"@types/react-dom": "^16.9.1",
64-
"@typescript-eslint/eslint-plugin": "^2.3.3",
65-
"@typescript-eslint/parser": "^2.3.3",
61+
"@types/jest": "^24.0.19",
62+
"@types/react": "^16.9.9",
63+
"@types/react-dom": "^16.9.2",
64+
"@typescript-eslint/eslint-plugin": "^2.4.0",
65+
"@typescript-eslint/parser": "^2.4.0",
6666
"docz": "^1.3.2",
6767
"docz-plugin-css": "^0.11.0",
6868
"docz-theme-default": "^1.2.0",
@@ -77,7 +77,7 @@
7777
"react": "^16.10.2",
7878
"react-dom": "^16.10.2",
7979
"react-hot-loader": "^4.12.15",
80-
"rollup": "^1.23.1",
80+
"rollup": "^1.25.0",
8181
"rollup-plugin-babel": "^4.3.3",
8282
"rollup-plugin-node-resolve": "^5.2.0",
8383
"rollup-plugin-size-snapshot": "^0.10.0",

0 commit comments

Comments
 (0)