Skip to content

Commit

Permalink
Merge pull request #813 from callstack/update-ci
Browse files Browse the repository at this point in the history
Node.js 16 actions are deprecated.
  • Loading branch information
retyui authored Mar 4, 2024
2 parents 83979f9 + 96bd3c8 commit 4b35d6d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ jobs:
android-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/install-dependencies

- name: Pull dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ hashFiles('./package.json') }}

- name: Cache example node modules
id: cache-example-npm
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cached-example-npm-deps
with:
Expand All @@ -42,21 +42,21 @@ jobs:
if: steps.cache-example-npm.outputs.cache-hit != 'true'
run: yarn bootstrap-no-pods --frozen-lockfile

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'

- name: Gradle cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}

- name: AVD cache
uses: actions/cache@v3
uses: actions/cache@v4
id: avd-cache
with:
path: |
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Upload report
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: E2E Report
path: |
Expand All @@ -109,7 +109,7 @@ jobs:
~/.maestro/tests/**/*
- name: Store tests result
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: e2e_android_report
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ jobs:
ios-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/install-dependencies

- name: Pull dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ hashFiles('./package.json') }}

- name: Cache example node modules
id: cache-example-npm
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cached-example-npm-deps
with:
Expand All @@ -45,7 +45,7 @@ jobs:

- name: Cache Pods
id: cache-pods
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cached-ios-pods-deps
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install-dependencies

Expand All @@ -28,17 +28,17 @@ jobs:
needs: install-dependencies
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Pull dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ hashFiles('./package.json') }}

- name: Pull example node modules
id: cache-example-npm
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cached-example-npm-deps
with:
Expand Down

0 comments on commit 4b35d6d

Please sign in to comment.