Skip to content

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
paths: [src/**, tests/**, package.json]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Installing dependencies ⚒️
run: npm install
- name: Running tests 🧪
run: npm run test
- name: Linting 👓
run: npm run lint