From ded41b846e16453b5ea40e52031b50bcef4395fb Mon Sep 17 00:00:00 2001 From: Sebastian Gerske <13647606+H34D@users.noreply.github.com> Date: Fri, 22 Jul 2022 13:35:41 +0200 Subject: [PATCH] fix build for windows --- .github/workflows/main.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d93662c7..1373614c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,5 @@ name: CI -on: [push] +on: [ push ] jobs: build: name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }} @@ -7,20 +7,17 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node: ['12.x', '14.x', '16.x'] - os: [ubuntu-latest, windows-latest, macOS-latest] + node: [ '12.x', '14.x', '16.x' ] + os: [ ubuntu-latest, windows-latest, macOS-latest ] steps: - - name: Checkout repo - uses: actions/checkout@v2 - - - name: Use Node ${{ matrix.node }} - uses: actions/setup-node@v1 + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} + - uses: bahmutov/npm-install@v1 - name: Install deps and build (with cache) - uses: bahmutov/npm-install@v1 run: yarn --frozen-lockfile - name: Lint