Skip to content

Commit

Permalink
Merge pull request #357 from bitmovin/disable-flipper-on-CI
Browse files Browse the repository at this point in the history
Disable Flipper on CI
  • Loading branch information
rolandkakonyi authored Dec 14, 2023
2 parents 7bc4f6f + b8ee618 commit 970c677
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down
3 changes: 3 additions & 0 deletions example/react-native.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, '..'),
},
Expand Down
2 changes: 1 addition & 1 deletion integration_test/react-native.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, '..'),
Expand Down

0 comments on commit 970c677

Please sign in to comment.