Skip to content

Replace ts-node with tsx to run native typescript tests #16

Replace ts-node with tsx to run native typescript tests

Replace ts-node with tsx to run native typescript tests #16

Workflow file for this run

name: Run code checks and tests
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- run: npm ci
- run: npm run lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- run: npm ci
- run: npm test