diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4e85c42..34e54a58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,9 @@ concurrency: group: ci-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +env: + NO_FLIPPER: 1 + jobs: code-style-typescript: name: Code style Typescript @@ -209,7 +212,6 @@ jobs: working-directory: example/ios env: CP_HOME_DIR: ${{ github.workspace }}/.cocoapods-cache - NO_FLIPPER: 1 - name: Save Pods cache if: steps.pods-cache-restore.outputs.cache-hit != 'true' diff --git a/example/react-native.config.js b/example/react-native.config.js index a5166956..521fccd1 100644 --- a/example/react-native.config.js +++ b/example/react-native.config.js @@ -3,6 +3,9 @@ const pak = require('../package.json'); module.exports = { dependencies: { + ...(process.env.NO_FLIPPER + ? { 'react-native-flipper': { platforms: { ios: null, android: null } } } + : {}), [pak.name]: { root: path.join(__dirname, '..'), }, diff --git a/integration_test/react-native.config.js b/integration_test/react-native.config.js index 95dd3e12..521fccd1 100644 --- a/integration_test/react-native.config.js +++ b/integration_test/react-native.config.js @@ -4,7 +4,7 @@ const pak = require('../package.json'); module.exports = { dependencies: { ...(process.env.NO_FLIPPER - ? { 'react-native-flipper': { platforms: { ios: null } } } + ? { 'react-native-flipper': { platforms: { ios: null, android: null } } } : {}), [pak.name]: { root: path.join(__dirname, '..'),