1010 outputs :
1111 should_run : ${{ steps.check.outputs.should_run }}
1212 steps :
13- - uses : actions/checkout@v4
13+ - uses : actions/checkout@v5
1414 with :
1515 fetch-depth : 0
1616 - name : Check for changes
3232 env :
3333 AVD_NAME : ubuntu-avd-x86_64-31
3434 steps :
35- - uses : actions/checkout@v4
35+ - uses : actions/checkout@v5
3636 with :
3737 persist-credentials : false
3838
@@ -61,29 +61,13 @@ jobs:
6161 distribution : ' adopt'
6262 cache : ' gradle'
6363
64- - name : Setup NodeJS
65- uses : actions/setup-node@v4
64+ - name : Enable Corepack
65+ run : corepack enable
66+ - name : Setup Node.js
67+ uses : actions/setup-node@v6
6668 with :
6769 node-version-file : ' .nvmrc'
68-
69- - uses : pnpm/action-setup@v2
70- name : Install pnpm
71- with :
72- version : 9
73- run_install : false
74-
75- - name : Get pnpm store directory
76- shell : bash
77- run : |
78- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
79-
80- - uses : actions/cache@v3
81- name : Setup pnpm cache
82- with :
83- path : ${{ env.STORE_PATH }}
84- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
85- restore-keys : |
86- ${{ runner.os }}-pnpm-store-
70+ cache : pnpm
8771
8872 - name : Install dependencies
8973 run : pnpm install
@@ -138,7 +122,7 @@ jobs:
138122 timeout-minutes : 30
139123
140124 steps :
141- - uses : actions/checkout@v4
125+ - uses : actions/checkout@v5
142126 with :
143127 persist-credentials : false
144128
@@ -165,29 +149,13 @@ jobs:
165149 restore-keys : |
166150 xcode-derived-${{ runner.os }}-
167151
168- - name : Setup NodeJS
169- uses : actions/setup-node@v4
152+ - name : Enable Corepack
153+ run : corepack enable
154+ - name : Setup Node.js
155+ uses : actions/setup-node@v6
170156 with :
171157 node-version-file : ' .nvmrc'
172-
173- - uses : pnpm/action-setup@v2
174- name : Install pnpm
175- with :
176- version : 9
177- run_install : false
178-
179- - name : Get pnpm store directory
180- shell : bash
181- run : |
182- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
183-
184- - uses : actions/cache@v3
185- name : Setup pnpm cache
186- with :
187- path : ${{ env.STORE_PATH }}
188- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
189- restore-keys : |
190- ${{ runner.os }}-pnpm-store-
158+ cache : pnpm
191159
192160 - name : Install dependencies
193161 run : pnpm install
0 commit comments