Skip to content

Add CI with Github actions #4

Add CI with Github actions

Add CI with Github actions #4

Workflow file for this run

name: Test
on:
pull_request:
paths:
- 'packages'
- 'test'
- '.github/workflows/test.yml'
jobs:
test:
name: Check that packages compiles, lint and tests pass
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build:packages
- name: Lint
run: npm run lint
- name: Test
run: npm test