Skip to content

Relative points

Relative points #438

Workflow file for this run

---
# Main build and test CI
name: CI
on: [push, pull_request] # Run on Push and Pull Requests
jobs:
clean-lint-build-test:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Clean build directories
run: yarn clean
- name: Lint the code
run: yarn lint
- name: Build
run: yarn build
- name: Run Tests
run: yarn test