Skip to content

Commit 9bdf8fb

Browse files
authored
Fix: Fix CI config (#175)
* Fix: Fix CI config * fix: colon * fix: revert CI config * fix: more changes * fix: don't run deploy for all things
1 parent 1ff0514 commit 9bdf8fb

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.circleci/config.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,23 +96,39 @@ jobs:
9696
- attach_workspace:
9797
at: ~/react-native-ios-kit
9898
- run: |
99+
echo "Deploying example app ..."
99100
cd example
100101
yarn exp login -u "$EXP_USERNAME" -p "$EXP_PASSWORD"
101102
yarn exp publish --non-interactive
102103
104+
# deploy:
105+
# <<: *defaults
106+
# steps:
107+
# - attach_workspace:
108+
# at: ~/react-native-ios-kit
109+
# - run: |
110+
# npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
111+
# npm publish
112+
103113
workflows:
104114
version: 2
105115

106116
build-and-test:
107117
jobs:
108-
- build
118+
- build:
109119
filters: # required since `deploy-website` amd `publish-expo` has tag filters AND requires `build`
110120
tags:
111121
only: /.*/
122+
# - deploy:
123+
# filters: *filter-tag
112124
- tests:
113125
requires:
114126
- build
115127
filters: *filter-ignore-gh-pages
128+
deploy:
129+
jobs:
130+
- build:
131+
filters: *filter-tag
116132
- deploy-website:
117133
requires:
118134
- build

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@
6464
"release-it": "^13.5.7",
6565
"svgexport": "^0.4.0"
6666
},
67+
"publishConfig": {
68+
"access": "public"
69+
},
6770
"husky": {
6871
"hooks": {
6972
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",

0 commit comments

Comments
 (0)