Skip to content

OSCI-6636

OSCI-6636 #657

Workflow file for this run

name: Check build
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# NOTE: The version we use to build the container image should always be
# included here. (See Dockerfile in the root directory of the ciboard-server
# repository.)
node-version: [18.x]
steps:
- name: Check out sources
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install build dependencies
run: npm install
- name: Compile TypeScript
run: npx tsc
- name: Lint with ESLint
run: npx eslint .
- name: Run tests
run: npm test