Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
Fix for node v6
Browse files Browse the repository at this point in the history
  • Loading branch information
XmiliaH committed Oct 17, 2021
1 parent 106657c commit a1491c2
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/node-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ name: Node.js CI
on: [push, pull_request]

jobs:
build:

test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [6, 8, 10, 12, 14, 16]

node-version: [8, 10, 12, 14, 16]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -21,4 +18,17 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- run: npm test
- run: npm test

# It seems that npm for node v6 does not have the ci command.
testv6:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 6
uses: actions/setup-node@v2
with:
node-version: 6
- name: Install dependencies
run: npm install
- run: npm test

0 comments on commit a1491c2

Please sign in to comment.