From b98db1d676842d85b26ba268660932ffd993d54b Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:12:58 +0900 Subject: [PATCH 01/14] fix(ci): check files on yarn install --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 50fa006924..8a2066b6c1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: registry-url: https://registry.npmjs.org - name: Install dependencies - run: yarn install --immutable + run: yarn install --immutable --check-files - name: Build run: yarn build From 44d04d14edb85d121a5a4577a3812dc70065e9e1 Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:15:48 +0900 Subject: [PATCH 02/14] fix(ci): check caches on yarn install --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8a2066b6c1..e4ba49f4a1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: registry-url: https://registry.npmjs.org - name: Install dependencies - run: yarn install --immutable --check-files + run: yarn install --immutable --check-cache - name: Build run: yarn build From c7c63fa8599d5818d190917c5ef6cb9e5c4e90c3 Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:20:40 +0900 Subject: [PATCH 03/14] chore: check dir --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b136f6fd7..47c740fcd3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,9 @@ jobs: - name: Install dependencies run: yarn install --immutable + - name: Check directory + run: tree . -L 2 + - name: Build run: yarn build From f65caec10415e943dcfa423f14ad178a4adf4a9f Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:21:32 +0900 Subject: [PATCH 04/14] Wrong ci file --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e4ba49f4a1..578a7a0406 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,10 @@ jobs: registry-url: https://registry.npmjs.org - name: Install dependencies - run: yarn install --immutable --check-cache + run: yarn install --immutable + + - name: Check directory + run: tree . -L 2 - name: Build run: yarn build From 1ef31c494d7750d500f22d31dc1353f3925e3bca Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:33:07 +0900 Subject: [PATCH 05/14] compare without immutable --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 578a7a0406..bd00323f48 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,10 +26,10 @@ jobs: registry-url: https://registry.npmjs.org - name: Install dependencies - run: yarn install --immutable + run: yarn install - - name: Check directory - run: tree . -L 2 + - run: pwd + - run: tree . -L 2 - name: Build run: yarn build From 9e27b4cff5f739fe77b7742946155df55d5a88c7 Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:37:47 +0900 Subject: [PATCH 06/14] Update yarn version --- package.json | 2 +- yarn.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 903479e610..edf96c425e 100644 --- a/package.json +++ b/package.json @@ -163,5 +163,5 @@ } ] }, - "packageManager": "yarn@4.2.2" + "packageManager": "yarn@4.3.1" } diff --git a/yarn.lock b/yarn.lock index c015cc155a..f7df46a73a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10222,11 +10222,11 @@ __metadata: "typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin, typescript@patch:typescript@npm%3A^5.5.2#optional!builtin, typescript@patch:typescript@npm%3A^5.5.3#optional!builtin": version: 5.5.3 - resolution: "typescript@patch:typescript@npm%3A5.5.3#optional!builtin::version=5.5.3&hash=b45daf" + resolution: "typescript@patch:typescript@npm%3A5.5.3#optional!builtin::version=5.5.3&hash=379a07" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/b61b8bb4b4d6a8a00f9d5f931f8c67070eed6ad11feabf4c41744a326987080bfc806a621596c70fbf2e5974eca3ed65bafeeeb22a078071bdfb51d8abd7c013 + checksum: 10/7cf7acb78a80f749b82842f2ffe01e90e7b3e709a6f4268588e0b7599c41dca1059be217f47778fe1a380bfaf60933021ef20d002c426d4d7745e1b36c11467b languageName: node linkType: hard From f8e705afe5bc63ef40d68f1a5fe6d90dfb1509d5 Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:39:16 +0900 Subject: [PATCH 07/14] Update setup-node --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bd00323f48..df1c13c40d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,17 +19,18 @@ jobs: run: corepack enable - name: Use node ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: cache: yarn node-version: ${{ matrix.node }} registry-url: https://registry.npmjs.org - name: Install dependencies - run: yarn install + run: yarn install --immutable - run: pwd - run: tree . -L 2 + - run: yarn --version - name: Build run: yarn build From abab10cc565763fa4e31fa9f5adec2efb1ff8788 Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:46:47 +0900 Subject: [PATCH 08/14] Try removing cache --- .github/workflows/tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index df1c13c40d..1597b2ee17 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,6 @@ jobs: - name: Use node ${{ matrix.node }} uses: actions/setup-node@v4 with: - cache: yarn node-version: ${{ matrix.node }} registry-url: https://registry.npmjs.org From fe42cc9e20cf860ec03e8fdfcdde7d9062f41445 Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:48:00 +0900 Subject: [PATCH 09/14] Log before install --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1597b2ee17..bbddccb083 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,12 +24,12 @@ jobs: node-version: ${{ matrix.node }} registry-url: https://registry.npmjs.org + - run: tree . -L 2 + - name: Install dependencies run: yarn install --immutable - - run: pwd - run: tree . -L 2 - - run: yarn --version - name: Build run: yarn build From 0777ecedfd1bce17d8ab19469dbd5a07d7a69dc1 Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:49:18 +0900 Subject: [PATCH 10/14] print all files --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bbddccb083..f4b6cd148c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,15 +21,16 @@ jobs: - name: Use node ${{ matrix.node }} uses: actions/setup-node@v4 with: + cache: yarn node-version: ${{ matrix.node }} registry-url: https://registry.npmjs.org - - run: tree . -L 2 + - run: tree . -L 2 -a - name: Install dependencies run: yarn install --immutable - - run: tree . -L 2 + - run: tree . -L 2 -a - name: Build run: yarn build From 56f88932d972ab6f681a4a315f61bd10a6e86c30 Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:50:39 +0900 Subject: [PATCH 11/14] Use npm cache method --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f4b6cd148c..94ac5a4e40 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: - name: Use node ${{ matrix.node }} uses: actions/setup-node@v4 with: - cache: yarn + cache: npm node-version: ${{ matrix.node }} registry-url: https://registry.npmjs.org From 7e5e6c79e2fc901fa10f84efcc660a5e1b6a5355 Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:53:59 +0900 Subject: [PATCH 12/14] Apply corepack later --- .github/workflows/tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 94ac5a4e40..dd2296b219 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,16 +15,17 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Enable Corepack - run: corepack enable - name: Use node ${{ matrix.node }} uses: actions/setup-node@v4 with: - cache: npm + cache: yarn node-version: ${{ matrix.node }} registry-url: https://registry.npmjs.org + - name: Enable Corepack + run: corepack enable + - run: tree . -L 2 -a - name: Install dependencies From 06037f981ae87e418d094c2b3d6fff67626a5db0 Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 20:56:20 +0900 Subject: [PATCH 13/14] Specify cache-dependency-path --- .github/workflows/tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dd2296b219..1dd75a01cd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,15 +16,16 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Enable Corepack + run: corepack enable + - name: Use node ${{ matrix.node }} uses: actions/setup-node@v4 with: cache: yarn node-version: ${{ matrix.node }} registry-url: https://registry.npmjs.org - - - name: Enable Corepack - run: corepack enable + cache-dependency-path: yarn.lock - run: tree . -L 2 -a From c6df054e4a762b54c02b21ca9eaf3dcacc36e512 Mon Sep 17 00:00:00 2001 From: HoJeong Go Date: Fri, 19 Jul 2024 21:06:15 +0900 Subject: [PATCH 14/14] try setting cache folder manually --- .yarnrc.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.yarnrc.yml b/.yarnrc.yml index 91b1101f52..092418b7d4 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,3 +1,5 @@ +cacheFolder: .yarn/cache + compressionLevel: mixed enableGlobalCache: false