Skip to content

feature/deseng745: Updated project definition to add project type multi-select values. #32

feature/deseng745: Updated project definition to add project type multi-select values.

feature/deseng745: Updated project definition to add project type multi-select values. #32

Workflow file for this run

name: Lint and Test API Backend
on:
pull_request:
branches:
- dev
paths:
- "api/controllers/*.js"
- "api/helpers/**/*.js"
- "api/test/*.js"
- "api/test/**/*.js"
- "app.js"
jobs:
static_checks:
if: github.repository_owner == 'bcgov' && github.event.pull_request.draft == false
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 10
- name: Install packages
run: npm install
- name: Run ESLint
run: npm run lint
- name: Run Tests
run: npm run test