Make commander a dev and build dependency and bump commander to latest version #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '**/*.js' | |
- 'package.json' | |
- '**/*.njk' | |
- '**/*.yml' | |
- 'tests/**/*.html' | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [11.x, 10.x, 8.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/cache@v2 | |
id: cache-node-modules | |
with: | |
path: node_modules | |
key: ${{ matrix.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package.json') }} | |
- run: npm install | |
if: steps.cache-node-modules.outputs.cache-hit != 'true' | |
- run: npm test | |
# Commented out until this action is added in organization settings | |
# - name: Report coverage | |
# if: success() | |
# uses: codecov/codecov-action@v1 |