diff --git a/.github/workflows/build-for-windows.yml b/.github/workflows/build-for-windows.yml index 5a1878565f..32a0fd27bc 100644 --- a/.github/workflows/build-for-windows.yml +++ b/.github/workflows/build-for-windows.yml @@ -24,13 +24,22 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - - # Runs a set of commands using the runners shell - - name: Run a multi-line script + # use npm to set up yarn + - name: Set up yarn cli run: | - echo Add other actions to build, - echo test, and deploy your project. + npm install --global yarn + yarn --version + + # Sets up the node_modules folder with the Windows version of the dependencies + - name: Yarn install + run: | + yarn install --frozen-lockfile --network-timeout=100000 + yarn check --verify-tree --integrity + + # Downloads kubernetes dependencies + - name: Download client binaries + run: yarn download:binaries