Skip to content

Commit

Permalink
no setup node cache on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Oct 24, 2024
1 parent a9a92fe commit b421f96
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b421f96

Please sign in to comment.