From 33c2e1baad0b4c62c99b964b14b04bf2700adcc1 Mon Sep 17 00:00:00 2001 From: Nick Burkhart Date: Mon, 31 Jul 2023 09:50:58 -0400 Subject: [PATCH 1/3] chore: simplify pr test --- .github/workflows/pr-test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 01b345aca7..6680703ed4 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -2,12 +2,12 @@ name: PR Test -on: [ push, pull_request ] +on: [pull_request] jobs: build: - - runs-on: macos-latest + runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # pin@v3 @@ -21,5 +21,3 @@ jobs: run: yarn build - name: Run tests run: yarn test - - name: Initialize react native app - run: yarn workspace @brandingbrand/code-app run init -v From e67b2a68e2999704f49eebbc04e158264ae1d449 Mon Sep 17 00:00:00 2001 From: Nick Burkhart Date: Mon, 31 Jul 2023 12:56:54 -0400 Subject: [PATCH 2/3] chore: add init step back in --- .github/workflows/pr-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 6680703ed4..295957c57d 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -7,7 +7,7 @@ on: [pull_request] jobs: build: runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 25 steps: - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # pin@v3 @@ -21,3 +21,5 @@ jobs: run: yarn build - name: Run tests run: yarn test + - name: Initialize react native app + run: yarn workspace @brandingbrand/code-app run init -v From f285b15939698538ada41422f4ecde03ecc21d18 Mon Sep 17 00:00:00 2001 From: Nick Burkhart Date: Mon, 31 Jul 2023 14:57:29 -0400 Subject: [PATCH 3/3] chore: init android only skips ios since requires cocoapods step --- .github/workflows/pr-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 295957c57d..5e048f55a2 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -22,4 +22,4 @@ jobs: - name: Run tests run: yarn test - name: Initialize react native app - run: yarn workspace @brandingbrand/code-app run init -v + run: yarn workspace @brandingbrand/code-app run init -p android -v