From 4150ce89d55477f60cc9ae094d4a0b907d8b1fe1 Mon Sep 17 00:00:00 2001 From: Mark Wubben Date: Tue, 22 Dec 2020 17:43:32 +0100 Subject: [PATCH] Fixes (#5) * No need to test under Windows * Fix linter issues --- .github/workflows/ci.yml | 3 +-- scripts/check.js | 2 +- test/test.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ba593b..a9be5f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,11 @@ on: jobs: nodejs: name: Node.js - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: fail-fast: false matrix: node-version: [^10, ^12, ^14] - os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 diff --git a/scripts/check.js b/scripts/check.js index 2c0a12b..1ff86ce 100644 --- a/scripts/check.js +++ b/scripts/check.js @@ -9,7 +9,7 @@ const path = require('path'); ctrlcExit(); const exec = async cmd => { - const {stdout} = await execa.command(cmd, {reject: false, shell: true}) + const {stdout} = await execa.command(cmd, {reject: false, shell: true}); return stdout; }; diff --git a/test/test.js b/test/test.js index 7e0a16b..79916d5 100644 --- a/test/test.js +++ b/test/test.js @@ -4,7 +4,7 @@ const test = require('ava'); const path = require('path'); const exec = async cmd => { - const {stdout} = await execa.command(cmd, {reject: false, shell: true}) + const {stdout} = await execa.command(cmd, {reject: false, shell: true}); return stdout; };