Skip to content

Add the ci.yml file

Add the ci.yml file #5

Workflow file for this run

name: CI
on:
push:
branches: [ main, test-ci ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run unit tests
run: npm test -- tests/unit