From 5875cf7fd7e44a0d3611932ad25228f83af3c5e7 Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Tue, 28 Nov 2023 17:21:25 +0530 Subject: [PATCH 1/9] testing yarn step --- .github/workflows/build-test-pull-request.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-pull-request.yml b/.github/workflows/build-test-pull-request.yml index 50499edf6..1d2a494d9 100644 --- a/.github/workflows/build-test-pull-request.yml +++ b/.github/workflows/build-test-pull-request.yml @@ -16,11 +16,16 @@ jobs: uses: actions/checkout@v3.3.0 - name: Setup Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x cache: "yarn" + - name: Run install + uses: borales/actions-yarn@v4 + with: + cmd: install # will run `yarn install` command + - name: Get changed files id: changed-files uses: tj-actions/changed-files@v38 From 4c3c20dacd43427ea8e790348d4885f36f12d249 Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Tue, 28 Nov 2023 17:22:51 +0530 Subject: [PATCH 2/9] yarn version --- .github/workflows/build-test-pull-request.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-test-pull-request.yml b/.github/workflows/build-test-pull-request.yml index 1d2a494d9..265edc95f 100644 --- a/.github/workflows/build-test-pull-request.yml +++ b/.github/workflows/build-test-pull-request.yml @@ -20,6 +20,8 @@ jobs: with: node-version: 18.x cache: "yarn" + env: + yarn: 3.6.4 - name: Run install uses: borales/actions-yarn@v4 From e81ea00fbf66d279bf7c25b8c09a17dfe704c08e Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Tue, 28 Nov 2023 17:25:40 +0530 Subject: [PATCH 3/9] wip --- .github/workflows/build-test-pull-request.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build-test-pull-request.yml b/.github/workflows/build-test-pull-request.yml index 265edc95f..a17afe9ff 100644 --- a/.github/workflows/build-test-pull-request.yml +++ b/.github/workflows/build-test-pull-request.yml @@ -19,9 +19,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18.x - cache: "yarn" - env: - yarn: 3.6.4 + # cache: "yarn" - name: Run install uses: borales/actions-yarn@v4 From d062415bf00072c1f1114e9ea19efbe58a6bfead Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Tue, 28 Nov 2023 17:27:27 +0530 Subject: [PATCH 4/9] wip --- .github/workflows/build-test-pull-request.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-pull-request.yml b/.github/workflows/build-test-pull-request.yml index a17afe9ff..80468d154 100644 --- a/.github/workflows/build-test-pull-request.yml +++ b/.github/workflows/build-test-pull-request.yml @@ -24,7 +24,9 @@ jobs: - name: Run install uses: borales/actions-yarn@v4 with: - cmd: install # will run `yarn install` command + cmd: | + npm i -g yarn@3.6.4 + install # will run `yarn install` command - name: Get changed files id: changed-files From b0688a060ab1b7b6860b62d73d25c899e63d4da1 Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Tue, 28 Nov 2023 17:30:23 +0530 Subject: [PATCH 5/9] wip --- .github/workflows/build-test-pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test-pull-request.yml b/.github/workflows/build-test-pull-request.yml index 80468d154..b75a11fa5 100644 --- a/.github/workflows/build-test-pull-request.yml +++ b/.github/workflows/build-test-pull-request.yml @@ -25,7 +25,7 @@ jobs: uses: borales/actions-yarn@v4 with: cmd: | - npm i -g yarn@3.6.4 + corepack enable install # will run `yarn install` command - name: Get changed files From 66cfb7b205a1e3e54a643c98779ddb636d0f21a5 Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Tue, 28 Nov 2023 17:31:13 +0530 Subject: [PATCH 6/9] wip --- .github/workflows/build-test-pull-request.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build-test-pull-request.yml b/.github/workflows/build-test-pull-request.yml index b75a11fa5..f96704015 100644 --- a/.github/workflows/build-test-pull-request.yml +++ b/.github/workflows/build-test-pull-request.yml @@ -24,9 +24,7 @@ jobs: - name: Run install uses: borales/actions-yarn@v4 with: - cmd: | - corepack enable - install # will run `yarn install` command + cmd: corepack enable && install # will run `yarn install` command - name: Get changed files id: changed-files From ce70aa7349d1d511671c1fa65bcd34614f94abc7 Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Tue, 28 Nov 2023 17:34:32 +0530 Subject: [PATCH 7/9] wip --- .github/workflows/build-test-pull-request.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-test-pull-request.yml b/.github/workflows/build-test-pull-request.yml index f96704015..60f3482d7 100644 --- a/.github/workflows/build-test-pull-request.yml +++ b/.github/workflows/build-test-pull-request.yml @@ -21,11 +21,14 @@ jobs: node-version: 18.x # cache: "yarn" - - name: Run install - uses: borales/actions-yarn@v4 - with: - cmd: corepack enable && install # will run `yarn install` command - + - name: Enabling Corepack + run: corepack enable + + # - name: Run install + # uses: borales/actions-yarn@v4 + # with: + # cmd: install # will run `yarn install` command + - name: Get changed files id: changed-files uses: tj-actions/changed-files@v38 From d3194ac595155f605a66d2d9ef20d3ad41ca53a4 Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Tue, 28 Nov 2023 17:35:35 +0530 Subject: [PATCH 8/9] cache enabled --- .github/workflows/build-test-pull-request.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-test-pull-request.yml b/.github/workflows/build-test-pull-request.yml index 60f3482d7..2fe87e415 100644 --- a/.github/workflows/build-test-pull-request.yml +++ b/.github/workflows/build-test-pull-request.yml @@ -19,16 +19,11 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18.x - # cache: "yarn" + cache: "yarn" - name: Enabling Corepack run: corepack enable - - # - name: Run install - # uses: borales/actions-yarn@v4 - # with: - # cmd: install # will run `yarn install` command - + - name: Get changed files id: changed-files uses: tj-actions/changed-files@v38 From d661026e3fe0004810a3544cfbd937cfd4fb3b1c Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Tue, 28 Nov 2023 17:39:39 +0530 Subject: [PATCH 9/9] cleanup --- .github/workflows/build-test-pull-request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test-pull-request.yml b/.github/workflows/build-test-pull-request.yml index 2fe87e415..bbb197a66 100644 --- a/.github/workflows/build-test-pull-request.yml +++ b/.github/workflows/build-test-pull-request.yml @@ -19,11 +19,11 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18.x - cache: "yarn" + # cache: "yarn" - name: Enabling Corepack run: corepack enable - + - name: Get changed files id: changed-files uses: tj-actions/changed-files@v38