diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae4381b5b..bddeffd97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -149,14 +149,16 @@ jobs: uses: fbactions/setup-winsdk@v2 with: winsdk-build-version: 18362 - - if: runner.os == 'Windows' - name: Enable corepack on CMD - shell: cmd + - name: Enable corepack run: corepack enable + - if: runner.os == 'Windows' + name: Set up Node on Windows + uses: actions/setup-node@v4 + with: + node-version-file: .node-version + # TODO: no cache because corepack is not installing yarn on windows - if: runner.os != 'Windows' - name: Enable corepack - run: corepack enable - - name: Set up Node + name: Set up Node on Unix uses: actions/setup-node@v4 with: node-version-file: .node-version