Skip to content

feat: Move to ESM #1938

feat: Move to ESM

feat: Move to ESM #1938

Workflow file for this run

name: Test
"on":
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
jobs:
test_matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 18
- 20
- 21
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- run: npm run build
- run: npm run test
test:
needs: test_matrix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm install
- run: npm run lint