Skip to content

Merge pull request #390 from gilly3/auditFileDocumentation #53

Merge pull request #390 from gilly3/auditFileDocumentation

Merge pull request #390 from gilly3/auditFileDocumentation #53

Workflow file for this run

name: Unit Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Cache dependencies
if: ${{ !env.ACT }}
uses: actions/cache@v2
with:
path: ./node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Install winston@3 peer dependency
run: npm install --no-save winston@3
- run: npm test