Skip to content

Add tests

Add tests #2

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
pull_request: {}
defaults:
run:
shell: bash
jobs:
test:
name: Test Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: |
npm install
- name: Prettier
run: |
npm run prettier
- name: Lint
run: |
npm run lint
- name: Build
run: |
npm run build
- name: Test
run: |
npm run test