Skip to content

Commit

Permalink
[WIP] node_version matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Aug 13, 2020
1 parent b17bbde commit b10f3e6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

# Action Repo: https://github.com/actions/setup-node
- name: "Setup Node"
uses: actions/setup-node@v2
uses: actions/setup-node@v1
with:
node-version: "14"

Expand Down Expand Up @@ -53,17 +53,17 @@ jobs:
strategy:
fail-fast: false # Do not cancel all jobs if one fails
matrix:
node_version: ["6", "8", "10", "12", "14"]
node_version: ["10", "12", "14"]

steps:
- name: "Checkout repo"
uses: actions/checkout@v2

# Action Repo: https://github.com/actions/setup-node
- name: "Setup Node"
uses: actions/setup-node@v2
uses: actions/setup-node@v1
with:
node-version: "14"
node-version: ${{ matrix.node_version }}

# Action Repo: https://github.com/actions/cache
- name: "Cache node_modules"
Expand All @@ -76,7 +76,7 @@ jobs:
- name: "Install dependencies"
run: |
npm install
npm ci
- name: "Run tests"
run: |
Expand Down

0 comments on commit b10f3e6

Please sign in to comment.