Skip to content

refactor: move test setup closer to describe call #23

refactor: move test setup closer to describe call

refactor: move test setup closer to describe call #23

Workflow file for this run

name: test suite
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node v20
uses: actions/setup-node@v4
with:
node-version: 20.18.0 # match .tool-versions file
- name: install
run: npm ci
- name: tests
run: npm run lint
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node v20
uses: actions/setup-node@v4
with:
node-version: 20.18.0 # match .tool-versions file
- name: install
run: npm ci
- name: tests
run: npm run test