Skip to content

Commit 6517c34

Browse files
committed
test(deps): bump workflow actions to current versions
should get rid of all the deprecated node warnings
1 parent 05bdd1a commit 6517c34

File tree

9 files changed

+56
-56
lines changed

9 files changed

+56
-56
lines changed

.github/workflows/create_test_patches.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
# FIXME: when github runner bumped from 18.17.1 to 18.18+ we started seeing template copy errors
3838
# different files, could reproduce locally on linux with v18.18+ and v20.8.0. Pinning to
3939
# prior version (18.17.1) to see if it stabilizes
40-
- uses: actions/setup-node@v3
40+
- uses: actions/setup-node@v4
4141
with:
4242
node-version: 18.17.1
4343

44-
- uses: actions/cache/restore@v3
44+
- uses: actions/cache/restore@v4
4545
name: Yarn Cache Restore
4646
id: yarn-cache
4747
with:
@@ -50,7 +50,7 @@ jobs:
5050
restore-keys: ${{ runner.os }}-yarn-v1
5151

5252
- name: Yarn Install
53-
uses: nick-fields/retry@v2
53+
uses: nick-fields/retry@v3
5454
with:
5555
timeout_minutes: 15
5656
retry_wait_seconds: 60
@@ -93,12 +93,12 @@ jobs:
9393
shell: bash
9494

9595
- name: Upload Test Patches
96-
uses: actions/upload-artifact@v3
96+
uses: actions/upload-artifact@v4
9797
with:
9898
name: patches
9999
path: ~/template/patches/
100100

101-
- uses: actions/cache/save@v3
101+
- uses: actions/cache/save@v4
102102
name: Yarn Cache Save
103103
if: "${{ github.ref == 'refs/heads/main' }}"
104104
with:

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ jobs:
2121
- uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 1
24-
- uses: actions/setup-node@v3
24+
- uses: actions/setup-node@v4
2525
with:
2626
node-version: 18
27-
- uses: actions/cache/restore@v3
27+
- uses: actions/cache/restore@v4
2828
name: Yarn Cache Restore
2929
id: yarn-cache
3030
with:
3131
path: .yarn/cache
3232
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
3333
restore-keys: ${{ runner.os }}-yarn-v1
3434
- name: Yarn Install
35-
uses: nick-fields/retry@v2
35+
uses: nick-fields/retry@v3
3636
with:
3737
timeout_minutes: 15
3838
retry_wait_seconds: 30
@@ -43,7 +43,7 @@ jobs:
4343
- name: Spell check
4444
run: |
4545
yarn lint:spellcheck
46-
- uses: actions/cache/save@v3
46+
- uses: actions/cache/save@v4
4747
name: Yarn Cache Save
4848
if: "${{ github.ref == 'refs/heads/main' }}"
4949
with:

.github/workflows/linting.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,36 +22,36 @@ jobs:
2222
- uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 1
25-
- uses: actions/setup-node@v3
25+
- uses: actions/setup-node@v4
2626
with:
2727
node-version: 18
2828
- name: Configure JDK
29-
uses: actions/setup-java@v3
29+
uses: actions/setup-java@v4
3030
with:
3131
distribution: 'temurin'
3232
java-version: '17'
33-
- uses: actions/cache/restore@v3
33+
- uses: actions/cache/restore@v4
3434
name: Yarn Cache Restore
3535
id: yarn-cache
3636
with:
3737
path: .yarn/cache
3838
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
3939
restore-keys: ${{ runner.os }}-yarn-v1
4040
- name: Yarn Install
41-
uses: nick-fields/retry@v2
41+
uses: nick-fields/retry@v3
4242
with:
4343
timeout_minutes: 15
4444
retry_wait_seconds: 30
4545
max_attempts: 3
4646
command: yarn && yarn lerna:prepare
4747
- name: Lint
48-
uses: nick-fields/retry@v2
48+
uses: nick-fields/retry@v3
4949
with:
5050
timeout_minutes: 3
5151
retry_wait_seconds: 10
5252
max_attempts: 3
5353
command: yarn lint
54-
- uses: actions/cache/save@v3
54+
- uses: actions/cache/save@v4
5555
name: Yarn Cache Save
5656
if: "${{ github.ref == 'refs/heads/main' }}"
5757
with:
@@ -67,26 +67,26 @@ jobs:
6767
- uses: actions/checkout@v4
6868
with:
6969
fetch-depth: 1
70-
- uses: actions/setup-node@v3
70+
- uses: actions/setup-node@v4
7171
with:
7272
node-version: 18
73-
- uses: actions/cache/restore@v3
73+
- uses: actions/cache/restore@v4
7474
name: Yarn Cache Restore
7575
id: yarn-cache
7676
with:
7777
path: .yarn/cache
7878
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
7979
restore-keys: ${{ runner.os }}-yarn-v1
8080
- name: Yarn Install
81-
uses: nick-fields/retry@v2
81+
uses: nick-fields/retry@v3
8282
with:
8383
timeout_minutes: 15
8484
retry_wait_seconds: 30
8585
max_attempts: 3
8686
command: yarn && yarn lerna:prepare
8787
- name: Lint
8888
run: yarn tsc:compile
89-
- uses: actions/cache/save@v3
89+
- uses: actions/cache/save@v4
9090
name: Yarn Cache Save
9191
if: "${{ github.ref == 'refs/heads/main' }}"
9292
with:
@@ -102,33 +102,33 @@ jobs:
102102
- uses: actions/checkout@v4
103103
with:
104104
fetch-depth: 1
105-
- uses: actions/setup-node@v3
105+
- uses: actions/setup-node@v4
106106
with:
107107
node-version: 18
108-
- uses: actions/cache/restore@v3
108+
- uses: actions/cache/restore@v4
109109
name: Yarn Cache Restore
110110
id: yarn-cache
111111
with:
112112
path: .yarn/cache
113113
key: ${{ runner.os }}-yarn-with-website-v1-${{ hashFiles('yarn.lock') }}
114114
restore-keys: ${{ runner.os }}-yarn-with-website-v1
115115
- name: Yarn Install
116-
uses: nick-fields/retry@v2
116+
uses: nick-fields/retry@v3
117117
with:
118118
timeout_minutes: 15
119119
retry_wait_seconds: 30
120120
max_attempts: 3
121121
command: yarn && yarn lerna:prepare
122122
- name: Yarn Install (Website)
123-
uses: nick-fields/retry@v2
123+
uses: nick-fields/retry@v3
124124
with:
125125
timeout_minutes: 3
126126
retry_wait_seconds: 30
127127
max_attempts: 3
128128
command: cd website && yarn
129129
- name: Generate TypeDoc
130130
run: node -e "require('./website/scripts/generate-typedoc').generateTypedoc()"
131-
- uses: actions/cache/save@v3
131+
- uses: actions/cache/save@v4
132132
name: Yarn Cache Save
133133
if: "${{ github.ref == 'refs/heads/main' }}"
134134
with:

.github/workflows/pr_title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
env:
1818
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
1919
steps:
20-
- uses: actions/setup-node@v3
20+
- uses: actions/setup-node@v4
2121
with:
2222
node-version: 18
2323
- uses: amannn/action-semantic-pull-request@v5

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
with:
1818
ref: 'main'
1919
fetch-depth: 0
20-
- uses: actions/setup-node@v3
20+
- uses: actions/setup-node@v4
2121
with:
2222
node-version: 18
2323
- name: Yarn Install
24-
uses: nick-fields/retry@v2
24+
uses: nick-fields/retry@v3
2525
with:
2626
timeout_minutes: 15
2727
retry_wait_seconds: 60
@@ -32,7 +32,7 @@ jobs:
3232
git config --global user.name '@Salakar'
3333
git config --global user.email '[email protected]'
3434
git remote set-url origin [email protected]:$GITHUB_REPOSITORY
35-
- uses: webfactory/ssh-agent@v0.8.0
35+
- uses: webfactory/ssh-agent@v0.9.0
3636
with:
3737
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
3838
- name: Publish Packages

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
pull-requests: write
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/stale@v8
16+
- uses: actions/stale@v9
1717
with:
1818
operations-per-run: 1000
1919
stale-issue-message: |

.github/workflows/tests_e2e_android.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ jobs:
5757
fetch-depth: 50
5858

5959
# Set up tool versions
60-
- uses: actions/setup-node@v3
60+
- uses: actions/setup-node@v4
6161
with:
6262
node-version: 18
6363

6464
- name: Configure JDK
65-
uses: actions/setup-java@v3
65+
uses: actions/setup-java@v4
6666
with:
6767
distribution: 'temurin'
6868
java-version: '17'
@@ -74,7 +74,7 @@ jobs:
7474
echo "metro-cache=$HOME/.metro" >> $GITHUB_OUTPUT
7575
echo "tempdir=$TMPDIR" >> $GITHUB_OUTPUT
7676
77-
- uses: actions/cache/restore@v3
77+
- uses: actions/cache/restore@v4
7878
name: Yarn Cache Restore
7979
id: yarn-cache
8080
with:
@@ -83,15 +83,15 @@ jobs:
8383
restore-keys: ${{ runner.os }}-yarn-v1
8484

8585
- name: Yarn Install
86-
uses: nick-fields/retry@v2
86+
uses: nick-fields/retry@v3
8787
with:
8888
timeout_minutes: 15
8989
retry_wait_seconds: 60
9090
max_attempts: 3
9191
command: DETOX_DISABLE_POSTINSTALL=1 yarn && yarn lerna:prepare
9292

9393
- name: Cache Firestore Emulator
94-
uses: actions/cache@v3
94+
uses: actions/cache@v4
9595
with:
9696
path: ~/.cache/firebase/emulators
9797
key: firebase-emulators-v1-${{ github.run_id }}
@@ -100,23 +100,23 @@ jobs:
100100
- name: Start Firestore Emulator
101101
run: yarn tests:emulator:start-ci
102102

103-
- uses: actions/cache@v3
103+
- uses: actions/cache@v4
104104
name: Gradle Cache
105105
with:
106106
path: ~/.gradle/caches
107107
key: ${{ runner.os }}-gradle-v1-${{ hashFiles('yarn.lock', 'tests/android/build.gradle', 'tests/android/app/build.gradle') }}
108108
restore-keys: ${{ runner.os }}-gradle-v1
109109

110110
- name: Build Android App
111-
uses: nick-fields/retry@v2
111+
uses: nick-fields/retry@v3
112112
with:
113113
timeout_minutes: 25
114114
retry_wait_seconds: 60
115115
max_attempts: 3
116116
command: yarn tests:android:build
117117

118118
- name: Metro Bundler Cache
119-
uses: actions/cache@v3
119+
uses: actions/cache@v4
120120
with:
121121
path: ${{ steps.workflow-variables.outputs.metro-cache }}
122122
key: ${{ runner.os }}-metro-v1-${{ github.run_id }}
@@ -165,15 +165,15 @@ jobs:
165165
with:
166166
verbose: true
167167

168-
- uses: actions/cache/save@v3
168+
- uses: actions/cache/save@v4
169169
name: Yarn Cache Save
170170
if: "${{ github.ref == 'refs/heads/main' }}"
171171
with:
172172
path: .yarn/cache
173173
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
174174

175175
- name: Upload Emulator Log
176-
uses: actions/upload-artifact@v3
176+
uses: actions/upload-artifact@v4
177177
if: always()
178178
with:
179179
name: adb_logs

0 commit comments

Comments
 (0)