Feature/added header based logger + addedrisk_start_time
and enforcer_start_time
fields to activities
#137
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: ci | |
on: pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm install | |
- name: Run linter | |
run: npm run lint | |
unit-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ 12, 14, 16, lts/* ] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: npm install | |
- name: Run unit tests | |
run: npm run test |