Skip to content

1.6.2

1.6.2 #120

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Build
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
os: [macOS-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test:ci
- name: Archive Unit Test Code Coverage Results
uses: actions/upload-artifact@v2
with:
name: code-coverage-report ${{ matrix.node-version }} ${{ matrix.os }}
path: test/reports/unit/lcov-report