File tree Expand file tree Collapse file tree 4 files changed +17465
-27
lines changed Expand file tree Collapse file tree 4 files changed +17465
-27
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+
3+ executors :
4+ default :
5+ docker :
6+ - image : circleci/node:10
7+ working_directory : ~/project
8+
9+ commands :
10+ attach_project :
11+ steps :
12+ - attach_workspace :
13+ at : ~/project
14+
15+ jobs :
16+ install-dependencies :
17+ executor : default
18+ steps :
19+ - checkout
20+ - attach_project
21+ - restore_cache :
22+ keys :
23+ - dependencies-{{ checksum "package.json" }}
24+ - dependencies-
25+ - restore_cache :
26+ keys :
27+ - dependencies-example-{{ checksum "example/package.json" }}
28+ - dependencies-example-
29+ - run :
30+ name : Install dependencies
31+ command : |
32+ yarn install --cwd example --frozen-lockfile
33+ yarn install --frozen-lockfile
34+ - save_cache :
35+ key : dependencies-{{ checksum "package.json" }}
36+ paths : node_modules
37+ - save_cache :
38+ key : dependencies-example-{{ checksum "example/package.json" }}
39+ paths : example/node_modules
40+ - persist_to_workspace :
41+ root : .
42+ paths : .
43+
44+ lint :
45+ executor : default
46+ steps :
47+ - attach_project
48+ - run :
49+ name : Lint files
50+ command : |
51+ yarn lint
52+
53+ typescript :
54+ executor : default
55+ steps :
56+ - attach_project
57+ - run :
58+ name : Typecheck files
59+ command : |
60+ yarn typescript
61+
62+ unit-tests :
63+ executor : default
64+ steps :
65+ - attach_project
66+ - run :
67+ name : Run unit tests
68+ command : |
69+ yarn test --coverage
70+ - store_artifacts :
71+ path : coverage
72+ destination : coverage
73+
74+ build-package :
75+ executor : default
76+ steps :
77+ - attach_project
78+ - run :
79+ name : Build package
80+ command : |
81+ yarn prepare
82+
83+ workflows :
84+ build-and-test :
85+ jobs :
86+ - install-dependencies
87+ - lint :
88+ requires :
89+ - install-dependencies
90+ - typescript :
91+ requires :
92+ - install-dependencies
93+ - unit-tests :
94+ requires :
95+ - install-dependencies
96+ - build-package :
97+ requires :
98+ - install-dependencies
Original file line number Diff line number Diff line change 99 pull_request :
1010 branches : [master]
1111
12- # Allows you to run this workflow manually from the Actions tab
13- workflow_dispatch :
14-
1512jobs :
1613 build :
1714 runs-on : ubuntu-latest
1815
1916 strategy :
2017 matrix :
21- node-version : [15 .x]
18+ node-version : [12 .x]
2219
2320 steps :
2421 - uses : actions/checkout@v2
2724 with :
2825 node-version : ${{ matrix.node-version }}
2926 - run : yarn install --frozen-lockfile
30- - run : yarn lint && yarn typescript
27+ - run : yarn lint
3128 env :
3229 CI : true
33- release :
34- runs-on : ubuntu-latest
35- if : github.ref == 'refs/heads/master'
36- steps :
37- - uses : actions/checkout@v2
38- with :
39- fetch-depth : 0
40- - name : git config
41- run : |
42- git config user.name "${GITHUB_ACTOR}"
43- git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
44- - run : |
45- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
46- npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
47- env:
48- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
49- - run : yarn install --frozen-lockfile
50- - run : yarn prepare && yarn release
51- env :
52- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ PODS:
203203 - React-jsi (= 0.64.2)
204204 - React-perflogger (= 0.64.2)
205205 - React-jsinspector (0.64.2)
206- - react-native-document-picker (5.2 .0):
206+ - react-native-document-picker (5.1 .0):
207207 - React-Core
208208 - React-perflogger (0.64.2)
209209 - React-RCTActionSheet (0.64.2):
@@ -385,7 +385,7 @@ SPEC CHECKSUMS:
385385 React-jsi: 67747b9722f6dab2ffe15b011bcf6b3f2c3f1427
386386 React-jsiexecutor: 80c46bd381fd06e418e0d4f53672dc1d1945c4c3
387387 React-jsinspector: cc614ec18a9ca96fd275100c16d74d62ee11f0ae
388- react-native-document-picker: b955bfbde32d6da61e4e5b486d1acb5b3485a192
388+ react-native-document-picker: f195e59a00586dcec0fc9d6d4e80c2f9938b844a
389389 React-perflogger: 25373e382fed75ce768a443822f07098a15ab737
390390 React-RCTActionSheet: af7796ba49ffe4ca92e7277a5d992d37203f7da5
391391 React-RCTAnimation: 6a2e76ab50c6f25b428d81b76a5a45351c4d77aa
You can’t perform that action at this time.
0 commit comments