From f1661fa47b1cb3a305ecd5d21fb64e414b837437 Mon Sep 17 00:00:00 2001 From: Amit Dahan Date: Mon, 1 Jan 2024 16:03:54 +0200 Subject: [PATCH 1/2] Bump actions, use nvmrc file --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30777e1..dec2883 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,10 +12,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version-file: '.nvmrc' cache: 'yarn' - name: Enable Corepack run: corepack enable From ecb0296c322a69a40939fbcb9e0c8d99085d63d9 Mon Sep 17 00:00:00 2001 From: Amit Dahan Date: Mon, 1 Jan 2024 16:08:06 +0200 Subject: [PATCH 2/2] Workaround yarn v4 issue --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dec2883..d2c1134 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 + env: + SKIP_YARN_COREPACK_CHECK: true with: node-version-file: '.nvmrc' cache: 'yarn'