diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 6972aff..1fbf155 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -14,8 +14,28 @@ jobs: config: "" version: custom + setup: + runs-on: windows-gp + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version-file: .node-version + + - name: Install Yarn + run: npm install -g yarn + + - name: Cache Yarn dependencies + uses: actions/cache@v4 + with: + path: ~/.yarn/cache + key: yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + yarn- + windows: - needs: fetch + needs: [fetch, setup] name: Windows Build uses: ./.github/workflows/build_windows.yaml with: diff --git a/.github/workflows/build_prepare.yaml b/.github/workflows/build_prepare.yaml index 75e857d..90093c4 100644 --- a/.github/workflows/build_prepare.yaml +++ b/.github/workflows/build_prepare.yaml @@ -30,7 +30,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: .node-version - cache: "yarn" + + - name: Install Yarn + run: npm install -g yarn - name: Install Deps run: "yarn install --frozen-lockfile" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8bb438f..64982f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: check: name: Post release checks needs: release - runs-on: ubuntu-24.04 + runs-on: windows-gp permissions: checks: read steps: