@@ -33,25 +33,25 @@ jobs:
3333 with :
3434 node-version : 22
3535
36- - name : Get yarn cache directory path
37- id : yarn -cache-dir-path
38- run : echo "dir=$(yarn cache dir)" >> ${env:GITHUB_OUTPUT}
36+ - name : Get pnpm cache directory path
37+ id : pnpm -cache-dir-path
38+ run : echo "dir=$(pnpm cache dir)" >> ${env:GITHUB_OUTPUT}
3939
4040 - uses : actions/cache@v4
41- id : yarn -cache
41+ id : pnpm -cache
4242 with :
43- path : ${{ steps.yarn -cache-dir-path.outputs.dir }}
44- key : ${{ runner.os }}-yarn -${{ hashFiles('**/yarn .lock') }}
43+ path : ${{ steps.pnpm -cache-dir-path.outputs.dir }}
44+ key : ${{ runner.os }}-pnpm -${{ hashFiles('**/pnpm .lock') }}
4545 restore-keys : |
46- ${{ runner.os }}-yarn -
46+ ${{ runner.os }}-pnpm -
4747
48- - name : yarn
48+ - name : pnpm
4949 run : |
50- yarn --frozen-lockfile --network-timeout 180000
50+ pnpm --frozen-lockfile --network-timeout 180000
5151
5252 - name : Run Build
5353 timeout-minutes : 20
54- run : yarn build
54+ run : pnpm build
5555
5656 darwin :
5757 name : macOS
@@ -66,25 +66,25 @@ jobs:
6666 with :
6767 node-version : 22
6868
69- - name : Get yarn cache directory path
70- id : yarn -cache-dir-path
71- run : echo "dir=$(yarn cache dir)" >> ${GITHUB_OUTPUT}
69+ - name : Get pnpm cache directory path
70+ id : pnpm -cache-dir-path
71+ run : echo "dir=$(pnpm cache dir)" >> ${GITHUB_OUTPUT}
7272
7373 - uses : actions/cache@v4
74- id : yarn -cache
74+ id : pnpm -cache
7575 with :
76- path : ${{ steps.yarn -cache-dir-path.outputs.dir }}
77- key : ${{ runner.os }}-yarn -${{ hashFiles('**/yarn .lock') }}
76+ path : ${{ steps.pnpm -cache-dir-path.outputs.dir }}
77+ key : ${{ runner.os }}-pnpm -${{ hashFiles('**/pnpm .lock') }}
7878 restore-keys : |
79- ${{ runner.os }}-yarn -
79+ ${{ runner.os }}-pnpm -
8080
81- - name : Execute yarn
81+ - name : Execute pnpm
8282 if : ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
83- run : yarn --frozen-lockfile --network-timeout 180000
83+ run : pnpm --frozen-lockfile --network-timeout 180000
8484
8585 - name : Run Build
8686 timeout-minutes : 20
87- run : yarn build
87+ run : pnpm build
8888
8989 lint-format-unit :
9090 name : linter, formatters and unit tests
@@ -95,29 +95,29 @@ jobs:
9595 with :
9696 node-version : 22
9797
98- - name : Get yarn cache directory path
99- id : yarn -cache-dir-path
100- run : echo "dir=$(yarn cache dir)" >> ${GITHUB_OUTPUT}
98+ - name : Get pnpm cache directory path
99+ id : pnpm -cache-dir-path
100+ run : echo "dir=$(pnpm cache dir)" >> ${GITHUB_OUTPUT}
101101
102102 - uses : actions/cache@v4
103- id : yarn -cache
103+ id : pnpm -cache
104104 with :
105- path : ${{ steps.yarn -cache-dir-path.outputs.dir }}
106- key : ${{ runner.os }}-yarn -${{ hashFiles('**/yarn .lock') }}
105+ path : ${{ steps.pnpm -cache-dir-path.outputs.dir }}
106+ key : ${{ runner.os }}-pnpm -${{ hashFiles('**/pnpm .lock') }}
107107 restore-keys : |
108- ${{ runner.os }}-yarn -
108+ ${{ runner.os }}-pnpm -
109109
110- - name : Execute yarn
111- run : yarn --frozen-lockfile
110+ - name : Execute pnpm
111+ run : pnpm --frozen-lockfile
112112
113113 - name : Run linter
114- run : yarn lint:check
114+ run : pnpm lint:check
115115
116116 - name : Run formatter
117- run : yarn format:check
117+ run : pnpm format:check
118118
119119 - name : Run Tests
120- run : yarn test
120+ run : pnpm test
121121
122122 e2e-tests :
123123 name : e2e tests for ${{ matrix.os }}
@@ -206,7 +206,7 @@ jobs:
206206 if : matrix.os == 'ubuntu-24.04'
207207 working-directory : ./crc-extension
208208 run : |
209- yarn install --check-files
209+ pnpm install --check-files
210210 # build crc extension
211211 podman build -t openshift_local_image . -f ./oci/Containerfile.multistage
212212 CONTAINER_ID_CRC=$(podman create localhost/openshift_local_image --entrypoint "")
@@ -229,10 +229,10 @@ jobs:
229229 shell : bash
230230 working-directory : ./crc-extension
231231 run : |
232- yarn install --check-files
232+ pnpm install --check-files
233233 # -- following https://github.com/crc-org/crc-extension/blob/main/oci/Containerfile.multistage --
234234 # build extension
235- yarn build
235+ pnpm build
236236 # make expected test folders
237237 mkdir -p tests/playwright/output/crc-tests-pd/plugins/crcextension
238238 mkdir -p tests/playwright/output/crc-tests-pd/plugins/ssoextension
@@ -244,10 +244,10 @@ jobs:
244244 working-directory : ./crc-extension
245245 shell : pwsh
246246 run : |
247- yarn install --check-files
247+ pnpm install --check-files
248248 # -- following https://github.com/crc-org/crc-extension/blob/main/oci/Containerfile.multistage --
249249 # build extension
250- yarn build
250+ pnpm build
251251 # make expected test folders
252252 mkdir tests\playwright\output\crc-tests-pd\plugins
253253 mkdir tests\playwright\output\crc-tests-pd\plugins\crcextension
@@ -284,7 +284,7 @@ jobs:
284284 working-directory : ./crc-extension
285285 env :
286286 PODMAN_DESKTOP_ARGS : ${{ github.workspace }}/podman-desktop
287- run : yarn test:e2e
287+ run : pnpm test:e2e
288288
289289 - name : Publish Test Report
290290 uses : mikepenz/action-junit-report@v6
0 commit comments