Skip to content

test: use import option and run test on Node 20 #2

test: use import option and run test on Node 20

test: use import option and run test on Node 20 #2

Workflow file for this run

name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Set up Node.js 18
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run Biome
run: npm run lint
- name: Run unit test
run: npm test
- name: Build distribution
run: npm run build