We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4df9965 commit 658bdceCopy full SHA for 658bdce
.circleci/config.yml
.github/workflows/build.yml
@@ -0,0 +1,23 @@
1
+name: Build
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-22.04
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v2
15
+ - name: Build Docker Image
16
+ run: |
17
+ docker build -t react-native-community/react-native .
18
+ docker run --rm --name rn-env react-native-community/react-native /bin/sh -c "npx envinfo"
19
+ - name: Checkout React Native
20
+ run: git clone https://github.com/facebook/react-native.git
21
+ - name: Build React Native
22
23
+ docker run --rm --ulimit nofile=10240 -v "$(pwd)/scripts/":/scripts -v "$(pwd)/react-native/":/react-native -w /react-native react-native-community/react-native /bin/sh -c "/scripts/test-react-native-setup.sh"
0 commit comments