A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
ci: move codemagic.yaml to root
ammarahm-ed508cb9bf2e55
diff --git a/apps/mobile/package.json b/apps/mobile/package.jsonindex 82763ea3e..12f574415 100644--- a/apps/mobile/package.json+++ b/apps/mobile/package.json@@ -19,7 +19,8 @@"e2e-ios": "cd native && detox test -c ios.sim.release --detectOpenHandles","bump": "npx react-native bump-version --skip-semver-for android","release-android": "cd native/android && GITHUB_RELEASE=true ENVFILE=.env.public ./gradlew bundleRelease --no-daemon",- "release-android-bundle": "cd native/android && ./gradlew bundleRelease --no-daemon"+ "release-android-bundle": "cd native/android && ./gradlew bundleRelease --no-daemon",+ "release-ios": "xcode-project build-ipa --workspace 'native/ios/Notesnook.xcworkspace' --scheme '$XCODE_SCHEME'"},"devDependencies": {"patch-package": "^6.4.7",diff --git a/apps/mobile/codemagic.yaml b/codemagic.yamlsimilarity index 88%rename from apps/mobile/codemagic.yamlrename to codemagic.yamlindex 338b0a7dc..437391f46 100644--- a/apps/mobile/codemagic.yaml+++ b/codemagic.yaml@@ -23,18 +23,9 @@ workflows:cache_paths:- $HOME/Library/Caches/CocoaPodsscripts:- - name: Setup npmrc- script: |- echo "registry=https://npm.pkg.github.com" > .npmrc- echo "@streetwriters:registry=https://npm.pkg.github.com" >> .npmrc- echo "//npm.pkg.github.com/:_authToken=$PACKAGES_TOKEN" >> .npmrc-- - name: Setup yarnrc- script: echo "\"@streetwriters:registry\" \"https://npm.pkg.github.com\"" > .yarnrc-- name: Install npm dependenciesscript: |- yarn install --network-concurrency 1+ npm i- name: Install CocoaPods dependenciesscript: |cd ios && pod install@@ -64,7 +55,7 @@ workflows:script: xcode-project use-profiles- name: Build ipa for distributionscript: |- xcode-project build-ipa --workspace "$FCI_BUILD_DIR/ios/$XCODE_WORKSPACE" --scheme "$XCODE_SCHEME"+ yarn release:iosartifacts:- build/ios/ipa/*.ipa- /tmp/xcodebuild_logs/*.logdiff --git a/package.json b/package.jsonindex 5f9345918..cc45aeb4b 100644--- a/package.json+++ b/package.json@@ -19,6 +19,7 @@"build:android": "nx build-android @notesnook/mobile","release:android": "nx release-android @notesnook/mobile","release:android:bundle": "nx release-android-bundle @notesnook/mobile",+ "release:ios": "nx release-ios @notesnook/mobile","test:ios": "nx e2e-ios @notesnook/mobile","test:android": "nx e2e-android @notesnook/mobile","start:metro": "nx start @notesnook/mobile",