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; };