Skip to content

Commit f7a1040

Browse files
authored
Merge pull request #96 from FormidableLabs/93-switch-to-github-actions
ci: move from appveyor/travis to github actions move all CI to github actions while dropping runs for node 10, and adding runs for node 16. Runs now include Windows, MacOS, and Ubuntu on node 12, 14, and 16. Breaking: Drops node 10 CI unit testing, though package may continue to work. closes #93
2 parents b2d17f1 + e9233a2 commit f7a1040

6 files changed

Lines changed: 82 additions & 98 deletions

File tree

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: CI
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
types: [opened, synchronize, reopened]
10+
11+
jobs:
12+
test:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os:
17+
- ubuntu-latest
18+
- windows-latest
19+
node_version:
20+
- 12
21+
- 14
22+
- 16
23+
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
24+
steps:
25+
- name: Use LF EOL
26+
if: ${{ matrix.os == 'windows-latest' }}
27+
run: |
28+
git config --global core.autocrlf false
29+
- name: Checkout
30+
uses: actions/checkout@v2
31+
- name: Setup node
32+
uses: actions/setup-node@v2
33+
with:
34+
node-version: ${{ matrix.node_version }}
35+
- name: Install Dependencies
36+
run: yarn install --frozen-lockfile
37+
- name: Test
38+
run: yarn test
39+
- name: Test IE
40+
if: ${{ matrix.os == 'windows-latest' }}
41+
run: yarn test-browser-ie
42+
- name: Codecov
43+
run: yarn codecov

.travis.yml

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

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
[![Downloads][downloads_img]][npm_site]
44
[![Bundle Size][bundle_img]](#bundle-size)
5-
[![Travis Status][trav_img]][trav_site]
6-
[![AppVeyor Status][appveyor_img]][appveyor_site]
5+
[![GH Actions Status][actions_img]][actions_site]
76
[![Coverage Status][cov_img]][cov_site]
87
[![npm version][npm_img]][npm_site]
98
[![Maintenance Status][maintenance_img]](#maintenance-status)
@@ -153,8 +152,8 @@ Please see our [contributions guide](./CONTRIBUTING.md).
153152

154153
**Active:** Formidable is actively working on this project, and we expect to continue for work for the foreseeable future. Bug reports, feature requests and pull requests are welcome.
155154

156-
[trav_img]: https://api.travis-ci.com/FormidableLabs/react-fast-compare.svg
157-
[trav_site]: https://travis-ci.com/FormidableLabs/react-fast-compare
155+
[actions_img]: https://github.com/FormidableLabs/react-fast-compare/actions/workflows/ci.yml/badge.svg
156+
[actions_site]: https://github.com/formidablelabs/react-fast-compare/actions/workflows/ci.yml
158157
[cov_img]: https://codecov.io/gh/FormidableLabs/react-fast-compare/branch/master/graph/badge.svg
159158
[cov_site]: https://codecov.io/gh/FormidableLabs/react-fast-compare
160159
[npm_img]: https://badge.fury.io/js/react-fast-compare.svg

appveyor.yml

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"babel-loader": "^8.0.6",
5252
"benchmark": "^2.1.4",
5353
"builder": "^5.0.0",
54-
"codecov": "^3.6.5",
54+
"codecov": "^3.8.2",
5555
"core-js": "^3.5.0",
5656
"eslint": "^6.7.2",
5757
"eslint-plugin-react": "^7.20.0",

yarn.lock

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,11 +1229,6 @@ after@0.8.2:
12291229
resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f"
12301230
integrity sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=
12311231

1232-
agent-base@5:
1233-
version "5.1.1"
1234-
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-5.1.1.tgz#e8fb3f242959db44d63be665db7a8e739537a32c"
1235-
integrity sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==
1236-
12371232
agent-base@6:
12381233
version "6.0.0"
12391234
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.0.tgz#5d0101f19bbfaed39980b22ae866de153b93f09a"
@@ -1980,15 +1975,15 @@ clone-deep@^4.0.1:
19801975
kind-of "^6.0.2"
19811976
shallow-clone "^3.0.0"
19821977

1983-
codecov@^3.6.5:
1984-
version "3.7.0"
1985-
resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.7.0.tgz#4a09939cde24447a43f36d068e8b4e0188dc3f27"
1986-
integrity sha512-uIixKofG099NbUDyzRk1HdGtaG8O+PBUAg3wfmjwXw2+ek+PZp+puRvbTohqrVfuudaezivJHFgTtSC3M8MXww==
1978+
codecov@^3.8.2:
1979+
version "3.8.2"
1980+
resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.8.2.tgz#ab24f18783998c39e809ea210af899f8dbcc790e"
1981+
integrity sha512-6w/kt/xvmPsWMfDFPE/T054txA9RTgcJEw36PNa6MYX+YV29jCHCRFXwbQ3QZBTOgnex1J2WP8bo2AT8TWWz9g==
19871982
dependencies:
19881983
argv "0.0.2"
19891984
ignore-walk "3.0.3"
1990-
js-yaml "3.13.1"
1991-
teeny-request "6.0.1"
1985+
js-yaml "3.14.1"
1986+
teeny-request "7.0.1"
19921987
urlgrey "0.4.4"
19931988

19941989
collection-visit@^1.0.0:
@@ -3353,12 +3348,12 @@ https-browserify@^1.0.0:
33533348
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
33543349
integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=
33553350

3356-
https-proxy-agent@^4.0.0:
3357-
version "4.0.0"
3358-
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz#702b71fb5520a132a66de1f67541d9e62154d82b"
3359-
integrity sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==
3351+
https-proxy-agent@^5.0.0:
3352+
version "5.0.0"
3353+
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2"
3354+
integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==
33603355
dependencies:
3361-
agent-base "5"
3356+
agent-base "6"
33623357
debug "4"
33633358

33643359
iconv-lite@0.4.24, iconv-lite@^0.4.24:
@@ -3786,6 +3781,14 @@ js-yaml@3.13.1:
37863781
argparse "^1.0.7"
37873782
esprima "^4.0.0"
37883783

3784+
js-yaml@3.14.1:
3785+
version "3.14.1"
3786+
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537"
3787+
integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==
3788+
dependencies:
3789+
argparse "^1.0.7"
3790+
esprima "^4.0.0"
3791+
37893792
js-yaml@^3.13.1:
37903793
version "3.14.0"
37913794
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482"
@@ -4460,10 +4463,10 @@ node-environment-flags@1.0.5:
44604463
object.getownpropertydescriptors "^2.0.3"
44614464
semver "^5.7.0"
44624465

4463-
node-fetch@^2.2.0:
4464-
version "2.6.0"
4465-
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd"
4466-
integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==
4466+
node-fetch@^2.6.1:
4467+
version "2.6.1"
4468+
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
4469+
integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==
44674470

44684471
node-libs-browser@^2.2.1:
44694472
version "2.2.1"
@@ -6071,16 +6074,16 @@ tapable@^1.0.0, tapable@^1.1.3:
60716074
resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2"
60726075
integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==
60736076

6074-
teeny-request@6.0.1:
6075-
version "6.0.1"
6076-
resolved "https://registry.yarnpkg.com/teeny-request/-/teeny-request-6.0.1.tgz#9b1f512cef152945827ba7e34f62523a4ce2c5b0"
6077-
integrity sha512-TAK0c9a00ELOqLrZ49cFxvPVogMUFaWY8dUsQc/0CuQPGF+BOxOQzXfE413BAk2kLomwNplvdtMpeaeGWmoc2g==
6077+
teeny-request@7.0.1:
6078+
version "7.0.1"
6079+
resolved "https://registry.yarnpkg.com/teeny-request/-/teeny-request-7.0.1.tgz#bdd41fdffea5f8fbc0d29392cb47bec4f66b2b4c"
6080+
integrity sha512-sasJmQ37klOlplL4Ia/786M5YlOcoLGQyq2TE4WHSRupbAuDaQW0PfVxV4MtdBtRJ4ngzS+1qim8zP6Zp35qCw==
60786081
dependencies:
60796082
http-proxy-agent "^4.0.0"
6080-
https-proxy-agent "^4.0.0"
6081-
node-fetch "^2.2.0"
6083+
https-proxy-agent "^5.0.0"
6084+
node-fetch "^2.6.1"
60826085
stream-events "^1.0.5"
6083-
uuid "^3.3.2"
6086+
uuid "^8.0.0"
60846087

60856088
terser-webpack-plugin@^1.4.3:
60866089
version "1.4.3"
@@ -6440,6 +6443,11 @@ uuid@^3.3.2:
64406443
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
64416444
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
64426445

6446+
uuid@^8.0.0:
6447+
version "8.3.2"
6448+
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
6449+
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
6450+
64436451
v8-compile-cache@^2.0.3:
64446452
version "2.1.0"
64456453
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e"

0 commit comments

Comments
 (0)