Skip to content

Commit 1206829

Browse files
author
Ahmed Hamouda
committed
fix: replace remove deprecated yarn global cmd
1 parent 1b1839f commit 1206829

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/reusable-build-system-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
env:
103103
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
104104
- name: Add Amplify CLI
105-
run: yarn global add @aws-amplify/cli
105+
run: npm install -g @aws-amplify/cli
106106
- name: Configure AWS credentials
107107
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 https://github.com/aws-actions/configure-aws-credentials/commit/e3dd6a429d7300a6a4c196c26e071d42e0343502
108108
with:

.github/workflows/reusable-e2e.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ jobs:
200200
run: yarn test-utils build
201201

202202
- name: Add Amplify CLI
203-
run: yarn global add @aws-amplify/cli
203+
run: npm install -g @aws-amplify/cli
204204

205205
- name: Configure auth credentials
206206
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 https://github.com/aws-actions/configure-aws-credentials/commit/e3dd6a429d7300a6a4c196c26e071d42e0343502
@@ -447,7 +447,7 @@ jobs:
447447
yarn react-native-example ios:pod-install
448448
449449
- name: Add Amplify CLI
450-
run: yarn global add @aws-amplify/cli
450+
run: npm install -g @aws-amplify/cli
451451

452452
- name: Get CLI versions
453453
id: cli-version
@@ -557,7 +557,7 @@ jobs:
557557
run: yarn react-native build
558558

559559
- name: Add Amplify CLI
560-
run: yarn global add @aws-amplify/cli
560+
run: npm install -g @aws-amplify/cli
561561

562562
- name: Get CLI versions
563563
id: cli-version

0 commit comments

Comments
 (0)