Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-07-30 12:45:51 +0300
committerisaacs <i@izs.me>2020-08-04 11:03:33 +0300
commitf3b1d8068f8677cf0461159bba6658920c7dbfbf (patch)
tree12cd959ed337d3d521d7ac2d11b64bccb1e34e86 /.github/workflows
parent3aba8d62f060753a089e7108130624722d32453a (diff)
GitHub Actions: add a win32 bash workflow
Update the matrix to have two Windows workflows: one running PowerShell and one running bash.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml19
1 files changed, 15 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index eb74c2849..53d6e1d6a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,10 +7,21 @@ jobs:
strategy:
fail-fast: false
matrix:
- node-version: [10.x, 12.x, 14.x]
- os: [ubuntu-latest, windows-latest, macOS-latest]
-
- runs-on: ${{ matrix.os }}
+ node-version: [6.x, 8.x, 10.x, 12.x]
+ platform:
+ - os: ubuntu-latest
+ shell: bash
+ - os: macos-latest
+ shell: bash
+ - os: windows-latest
+ shell: bash
+ - os: windows-latest
+ shell: powershell
+
+ runs-on: ${{ matrix.platform.os }}
+ defaults:
+ run:
+ shell: ${{ matrix.platform.shell }}
steps:
# Checkout the npm/cli repo