1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/.github/workflows/build-for-windows.yml
2022-08-23 16:15:55 -05:00

46 lines
1.4 KiB
YAML

# This is a basic workflow to help you get started with Actions
name: Build For Windows
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: ["stop-updating"]
pull_request:
branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: windows-latest
# Steps represent a sequence of tasks that will be executed as part of the job
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
# use npm to set up yarn
- name: Set up yarn cli
run: |
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