Skip to content

Commit 2e614a5

Browse files
feat(ci): migrate to GH actions (#192)
* feat(ci): migrate to GH actions * feat(ci): update README * fix(ts): add react nav to dev deps
1 parent 6cf992f commit 2e614a5

File tree

5 files changed

+104
-88
lines changed

5 files changed

+104
-88
lines changed

.circleci/config.yml

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

.github/workflows/validate.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Validate
2+
3+
on: [push]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
name: Linter
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version: "16.x"
14+
cache: "yarn"
15+
- run: yarn
16+
- run: yarn eslint .
17+
18+
tsc:
19+
runs-on: ubuntu-latest
20+
name: TypeScript
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: actions/setup-node@v2
24+
with:
25+
node-version: "16.x"
26+
cache: "yarn"
27+
- run: yarn
28+
- run: yarn tsc

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `@react-native-community/geolocation`
22

3-
[![npm](https://img.shields.io/npm/v/@react-native-community/geolocation)](https://www.npmjs.com/package/@react-native-community/geolocation) [![CircleCI Status](https://img.shields.io/circleci/project/github/react-native-community/react-native-geolocation/master.svg)](https://circleci.com/gh/react-native-community/workflows/react-native-geolocation/tree/master) ![Supports Android, iOS and web](https://img.shields.io/badge/platforms-android%20%7C%20ios%20%7C%20web-lightgrey.svg) ![MIT License](https://img.shields.io/npm/l/@react-native-community/geolocation.svg)
3+
[![npm](https://img.shields.io/npm/v/@react-native-community/geolocation)](https://www.npmjs.com/package/@react-native-community/geolocation) ![Supports Android, iOS and web](https://img.shields.io/badge/platforms-android%20%7C%20ios%20%7C%20web-lightgrey.svg) ![MIT License](https://img.shields.io/npm/l/@react-native-community/geolocation.svg)
44

55
The Geolocation API 📍 module for React Native that extends the [Geolocation web spec](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation).
66

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
"@babel/core": "^7.12.9",
4949
"@babel/runtime": "^7.12.5",
5050
"@react-native-community/eslint-config": "^2.0.0",
51+
"@react-navigation/native": "^6.0.11",
52+
"@react-navigation/native-stack": "^6.7.0",
5153
"@semantic-release/git": "^7.0.16",
5254
"@types/invariant": "^2.2.35",
5355
"@types/jest": "^26.0.23",

yarn.lock

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2628,6 +2628,48 @@
26282628
resolved "https://registry.yarnpkg.com/@react-native/polyfills/-/polyfills-2.0.0.tgz#4c40b74655c83982c8cf47530ee7dc13d957b6aa"
26292629
integrity sha512-K0aGNn1TjalKj+65D7ycc1//H9roAQ51GJVk5ZJQFb2teECGmzd86bYDC0aYdbRf7gtovescq4Zt6FR0tgXiHQ==
26302630

2631+
"@react-navigation/core@^6.3.0":
2632+
version "6.3.0"
2633+
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-6.3.0.tgz#79d08f45e448b6269cc0268b0653975913104a3c"
2634+
integrity sha512-nyvReUB00SAfHdL/AA+GksdaTuiC31LxHp+f1kxuPNkcGR7zSMVT+Wrq4OHe+VPFfCxJxoseQ2ElsvE+4IYFoQ==
2635+
dependencies:
2636+
"@react-navigation/routers" "^6.1.2"
2637+
escape-string-regexp "^4.0.0"
2638+
nanoid "^3.1.23"
2639+
query-string "^7.0.0"
2640+
react-is "^16.13.0"
2641+
use-latest-callback "^0.1.5"
2642+
2643+
"@react-navigation/elements@^1.3.5":
2644+
version "1.3.5"
2645+
resolved "https://registry.yarnpkg.com/@react-navigation/elements/-/elements-1.3.5.tgz#904876ce3f3c36632f242322dd622bb3e18e6775"
2646+
integrity sha512-3Ef5cYuQXqJRco7RG99fkDEciAuYTkAD7go5D8RFYG8rAp2aI/cDnGwFwvFVANlRsbFFPGU3ZLY8EUJihf4Hjw==
2647+
2648+
"@react-navigation/native-stack@^6.7.0":
2649+
version "6.8.0"
2650+
resolved "https://registry.yarnpkg.com/@react-navigation/native-stack/-/native-stack-6.8.0.tgz#1677ce21dc61a16965198f11c0b8259771315451"
2651+
integrity sha512-OhyyuSoIcY32kYNnTI0VUDcp2JT1jgFuT6j8FiUI/lPttcQKLVBS+jzRtHzpJ2D8N0CEjTLCyQNkVJBTpwjNFg==
2652+
dependencies:
2653+
"@react-navigation/elements" "^1.3.5"
2654+
warn-once "^0.1.0"
2655+
2656+
"@react-navigation/native@^6.0.11":
2657+
version "6.0.12"
2658+
resolved "https://registry.yarnpkg.com/@react-navigation/native/-/native-6.0.12.tgz#29bb0a657b65704fd55803f5c01e064ea0747e48"
2659+
integrity sha512-23n0pDsFvFxPIkB4zrAip05uUj6Jr+5dinqrDdEU26cPoki3/iJlirvbSIs/64Om/OuTyUjFdB/zI75ng+m5Pg==
2660+
dependencies:
2661+
"@react-navigation/core" "^6.3.0"
2662+
escape-string-regexp "^4.0.0"
2663+
fast-deep-equal "^3.1.3"
2664+
nanoid "^3.1.23"
2665+
2666+
"@react-navigation/routers@^6.1.2":
2667+
version "6.1.2"
2668+
resolved "https://registry.yarnpkg.com/@react-navigation/routers/-/routers-6.1.2.tgz#b239e876f03a1f8908862ccb5473d36e32c4d163"
2669+
integrity sha512-uJ+N7dyrZjA2L3ykyH0OyEiLNhzxDSfUqgOS4LmrLWlgly/oYFfPTqsxCD8zP0r3hv7ayLIPQPC1u1ubSO+42A==
2670+
dependencies:
2671+
nanoid "^3.1.23"
2672+
26312673
"@semantic-release/commit-analyzer@^6.1.0":
26322674
version "6.1.0"
26332675
resolved "https://registry.yarnpkg.com/@semantic-release/commit-analyzer/-/commit-analyzer-6.1.0.tgz#32bbe3c23da86e23edf072fbb276fa2f383fcb17"
@@ -5511,6 +5553,11 @@ fill-range@^7.0.1:
55115553
dependencies:
55125554
to-regex-range "^5.0.1"
55135555

5556+
filter-obj@^1.1.0:
5557+
version "1.1.0"
5558+
resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b"
5559+
integrity sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==
5560+
55145561
55155562
version "1.1.0"
55165563
resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.0.tgz#ce0b6855b45853e791b2fcc680046d88253dd7f5"
@@ -8601,6 +8648,11 @@ mute-stream@~0.0.4:
86018648
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
86028649
integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==
86038650

8651+
nanoid@^3.1.23:
8652+
version "3.3.4"
8653+
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
8654+
integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==
8655+
86048656
nanomatch@^1.2.9:
86058657
version "1.2.13"
86068658
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
@@ -9817,6 +9869,16 @@ query-string@^6.1.0:
98179869
split-on-first "^1.0.0"
98189870
strict-uri-encode "^2.0.0"
98199871

9872+
query-string@^7.0.0:
9873+
version "7.1.1"
9874+
resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.1.tgz#754620669db978625a90f635f12617c271a088e1"
9875+
integrity sha512-MplouLRDHBZSG9z7fpuAAcI7aAYjDLhtsiVZsevsfaHWDS2IDdORKbSd1kWUA+V4zyva/HZoSfpwnYMMQDhb0w==
9876+
dependencies:
9877+
decode-uri-component "^0.2.0"
9878+
filter-obj "^1.1.0"
9879+
split-on-first "^1.0.0"
9880+
strict-uri-encode "^2.0.0"
9881+
98209882
quick-lru@^1.0.0:
98219883
version "1.1.0"
98229884
resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8"
@@ -9855,7 +9917,7 @@ [email protected]:
98559917
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67"
98569918
integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg==
98579919

9858-
react-is@^16.13.1:
9920+
react-is@^16.13.0, react-is@^16.13.1:
98599921
version "16.13.1"
98609922
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
98619923
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
@@ -11823,6 +11885,11 @@ url-template@^2.0.8:
1182311885
resolved "https://registry.yarnpkg.com/url-template/-/url-template-2.0.8.tgz#fc565a3cccbff7730c775f5641f9555791439f21"
1182411886
integrity sha1-/FZaPMy/93MMd19WQflVV5FDnyE=
1182511887

11888+
use-latest-callback@^0.1.5:
11889+
version "0.1.5"
11890+
resolved "https://registry.yarnpkg.com/use-latest-callback/-/use-latest-callback-0.1.5.tgz#a4a836c08fa72f6608730b5b8f4bbd9c57c04f51"
11891+
integrity sha512-HtHatS2U4/h32NlkhupDsPlrbiD27gSH5swBdtXbCAlc6pfOFzaj0FehW/FO12rx8j2Vy4/lJScCiJyM01E+bQ==
11892+
1182611893
use-sync-external-store@^1.0.0:
1182711894
version "1.2.0"
1182811895
resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a"
@@ -11927,6 +11994,11 @@ walker@^1.0.7, walker@~1.0.5:
1192711994
dependencies:
1192811995
makeerror "1.0.x"
1192911996

11997+
warn-once@^0.1.0:
11998+
version "0.1.1"
11999+
resolved "https://registry.yarnpkg.com/warn-once/-/warn-once-0.1.1.tgz#952088f4fb56896e73fd4e6a3767272a3fccce43"
12000+
integrity sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q==
12001+
1193012002
wcwidth@^1.0.0, wcwidth@^1.0.1:
1193112003
version "1.0.1"
1193212004
resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"

0 commit comments

Comments
 (0)