From d97d44225febbe32fa19f49964a605754216da09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Jastrze=CC=A8bski?= Date: Fri, 6 Jun 2025 18:25:33 +0200 Subject: [PATCH 1/3] chore: update node to 22 --- .github/workflows/ci-native-cli.yaml | 2 +- .github/workflows/ci-native-expo.yaml | 2 +- .github/workflows/ci-web-nextjs.yaml | 2 +- .github/workflows/ci-web-vite.yaml | 2 +- .github/workflows/test-example-apps.yml | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-native-cli.yaml b/.github/workflows/ci-native-cli.yaml index a239d35..35745b0 100644 --- a/.github/workflows/ci-native-cli.yaml +++ b/.github/workflows/ci-native-cli.yaml @@ -26,7 +26,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'yarn' - name: Install Example diff --git a/.github/workflows/ci-native-expo.yaml b/.github/workflows/ci-native-expo.yaml index bda0a8b..0ea51db 100644 --- a/.github/workflows/ci-native-expo.yaml +++ b/.github/workflows/ci-native-expo.yaml @@ -26,7 +26,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'yarn' - name: Install Example diff --git a/.github/workflows/ci-web-nextjs.yaml b/.github/workflows/ci-web-nextjs.yaml index 985a005..7649e6c 100644 --- a/.github/workflows/ci-web-nextjs.yaml +++ b/.github/workflows/ci-web-nextjs.yaml @@ -26,7 +26,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'yarn' - name: Install Example diff --git a/.github/workflows/ci-web-vite.yaml b/.github/workflows/ci-web-vite.yaml index dc15517..72b1c47 100644 --- a/.github/workflows/ci-web-vite.yaml +++ b/.github/workflows/ci-web-vite.yaml @@ -26,7 +26,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'yarn' - name: Install Example diff --git a/.github/workflows/test-example-apps.yml b/.github/workflows/test-example-apps.yml index 7038226..c9e2d8c 100644 --- a/.github/workflows/test-example-apps.yml +++ b/.github/workflows/test-example-apps.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'yarn' - name: Install Example @@ -62,7 +62,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'yarn' - name: Install Example @@ -95,7 +95,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'yarn' - name: Install Example @@ -131,7 +131,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'yarn' - name: Install Example From fad2e71dd8fcc15bddd6f5f84c24592c081cac3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Jastrze=CC=A8bski?= Date: Fri, 6 Jun 2025 18:28:38 +0200 Subject: [PATCH 2/3] . --- .github/workflows/ci-native-cli.yaml | 4 ++-- .github/workflows/ci-native-expo.yaml | 4 ++-- .github/workflows/ci-web-nextjs.yaml | 4 ++-- .github/workflows/ci-web-vite.yaml | 4 ++-- .github/workflows/test-example-apps.yml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-native-cli.yaml b/.github/workflows/ci-native-cli.yaml index 35745b0..f17fa72 100644 --- a/.github/workflows/ci-native-cli.yaml +++ b/.github/workflows/ci-native-cli.yaml @@ -3,10 +3,10 @@ name: React Native - RN CLI on: push: branches: [main] - paths: ['examples/native-cli/**'] + paths: ['examples/native-cli/**', '.github/workflows/ci-native-cli.yaml'] pull_request: branches: ['**'] - paths: ['examples/native-cli/**'] + paths: ['examples/native-cli/**', '.github/workflows/ci-native-cli.yaml'] concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/ci-native-expo.yaml b/.github/workflows/ci-native-expo.yaml index 0ea51db..420c80a 100644 --- a/.github/workflows/ci-native-expo.yaml +++ b/.github/workflows/ci-native-expo.yaml @@ -3,10 +3,10 @@ name: React Native - Expo on: push: branches: [main] - paths: ['examples/native-expo/**'] + paths: ['examples/native-expo/**', '.github/workflows/ci-native-expo.yaml'] pull_request: branches: ['**'] - paths: ['examples/native-expo/**'] + paths: ['examples/native-expo/**', '.github/workflows/ci-native-expo.yaml'] concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/ci-web-nextjs.yaml b/.github/workflows/ci-web-nextjs.yaml index 7649e6c..131a204 100644 --- a/.github/workflows/ci-web-nextjs.yaml +++ b/.github/workflows/ci-web-nextjs.yaml @@ -3,10 +3,10 @@ name: Web - Next.js on: push: branches: [main] - paths: ['examples/web-nextjs/**'] + paths: ['examples/web-nextjs/**', '.github/workflows/ci-web-nextjs.yaml'] pull_request: branches: ['**'] - paths: ['examples/web-nextjs/**'] + paths: ['examples/web-nextjs/**', '.github/workflows/ci-web-nextjs.yaml'] concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/ci-web-vite.yaml b/.github/workflows/ci-web-vite.yaml index 72b1c47..ad77546 100644 --- a/.github/workflows/ci-web-vite.yaml +++ b/.github/workflows/ci-web-vite.yaml @@ -3,10 +3,10 @@ name: Web - Vite on: push: branches: [main] - paths: ['examples/web-vite/**'] + paths: ['examples/web-vite/**', '.github/workflows/ci-web-vite.yaml'] pull_request: branches: ['**'] - paths: ['examples/web-vite/**'] + paths: ['examples/web-vite/**', '.github/workflows/ci-web-vite.yaml'] concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/test-example-apps.yml b/.github/workflows/test-example-apps.yml index c9e2d8c..c8f8c94 100644 --- a/.github/workflows/test-example-apps.yml +++ b/.github/workflows/test-example-apps.yml @@ -3,10 +3,10 @@ name: Examples on: push: branches: [main] - paths: ['examples/xxx/**'] + paths: ['examples/**', '.github/**'] pull_request: branches: ['**'] - paths: ['examples/xxx/**'] + paths: ['examples/**', '.github/**'] concurrency: group: ${{ github.workflow }}-${{ github.ref }} From 917649b58d0a837b12111c2253b193646fb8a361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Jastrze=CC=A8bski?= Date: Fri, 6 Jun 2025 18:30:02 +0200 Subject: [PATCH 3/3] . --- .github/workflows/test-example-apps.yml | 152 ------------------------ 1 file changed, 152 deletions(-) delete mode 100644 .github/workflows/test-example-apps.yml diff --git a/.github/workflows/test-example-apps.yml b/.github/workflows/test-example-apps.yml deleted file mode 100644 index c8f8c94..0000000 --- a/.github/workflows/test-example-apps.yml +++ /dev/null @@ -1,152 +0,0 @@ -name: Examples - -on: - push: - branches: [main] - paths: ['examples/**', '.github/**'] - pull_request: - branches: ['**'] - paths: ['examples/**', '.github/**'] - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ !contains(github.ref, 'main')}} - -jobs: - test-native: - name: Test React Native CLI - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Enable Corepack - run: corepack enable - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 22.x - cache: 'yarn' - - - name: Install Example - run: yarn --cwd examples/native-cli install - - - name: Validate TypeScript - run: yarn --cwd examples/native-cli typecheck - - - name: Validate ESLint - run: yarn --cwd examples/native-cli lint - - - name: Run tests - run: yarn --cwd examples/native-cli test - - - name: Run perf tests - run: cd examples/native-cli && ./reassure-tests.sh - - - name: Run Danger.js - run: yarn --cwd examples/native-cli danger ci --id native - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - test-native-expo: - name: Test React Native Expo - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Enable Corepack - run: corepack enable - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 22.x - cache: 'yarn' - - - name: Install Example - run: yarn --cwd examples/native-expo install - - - name: Validate TypeScript - run: yarn --cwd examples/native-expo typecheck - - - name: Run tests - run: yarn --cwd examples/native-expo test - - - name: Run perf tests - run: cd examples/native-expo && ./reassure-tests.sh - - - name: Run Danger.js - run: yarn --cwd examples/native-expo danger ci --id native-expo - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - test-web-vite: - name: Test Vite - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Enable Corepack - run: corepack enable - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 22.x - cache: 'yarn' - - - name: Install Example - run: yarn --cwd examples/web-vite install - - - name: Validate TypeScript - run: yarn --cwd examples/web-vite typecheck - - - name: Validate ESLint - run: yarn --cwd examples/web-vite lint - - - name: Run tests - run: yarn --cwd examples/web-vite test - - - name: Run perf tests - run: cd examples/web-vite && ./reassure-tests.sh - - - name: Run Danger.js - run: yarn --cwd examples/web-vite danger ci --id web-vite - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - test-web-nextjs: - name: Test Next.js - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Enable Corepack - run: corepack enable - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 22.x - cache: 'yarn' - - - name: Install Example - run: yarn --cwd examples/web-nextjs install - - - name: Validate ESLint - run: yarn --cwd examples/web-nextjs lint - - - name: Run tests - run: yarn --cwd examples/web-nextjs test - - - name: Run perf tests - run: cd examples/web-nextjs && ./reassure-tests.sh - - - name: Run Danger.js - run: yarn --cwd examples/web-nextjs danger ci --id web-nextjs - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}