Skip to content

TRAC-2189: Cerberus workflow for tealium #806

TRAC-2189: Cerberus workflow for tealium

TRAC-2189: Cerberus workflow for tealium #806

Workflow file for this run

# 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: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: NPM install
run: npm ci
- name: Check code quality
run: npm run lint
- name: Run Tests
if: ${{ success() }}
run: npm run test