name: Electron Build on: push: branches: [master, dev] pull_request: branches: [master, dev] jobs: build: runs-on: windows-2019 strategy: matrix: node-version: [14.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Fix node-gyp run: npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" - name: Install dependencies run: cd ./modules/dashboard && yarn --network-timeout 1000000000 - name: Build run: cd ./modules/dashboard && yarn build