From 12f47fd038254eaf832d983c53f7b5194c641a86 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Fri, 8 Jan 2021 23:39:25 +1100 Subject: [PATCH] only test:node on Windows for now --- .github/workflows/main.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a652b39..c56c03b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ jobs: fail-fast: false matrix: node: [14.x, 15.x] - os: [macos-latest, ubuntu-latest, windows-latest] + os: [macos-latest, ubuntu-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout Repository @@ -21,3 +21,23 @@ jobs: - name: Run tests run: | npm test + Tests-Windows: + strategy: + fail-fast: false + matrix: + node: [14.x, 15.x] + os: [windows-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: Install Dependencies + run: | + npm install --no-progress + - name: Run tests + run: | + npm run test:node