Skip to content

feat(build): add dual CJS+ESM build and TypeScript declarations #2501

feat(build): add dual CJS+ESM build and TypeScript declarations

feat(build): add dual CJS+ESM build and TypeScript declarations #2501

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x] # NOTE: Keep in sync with README.
# See Node.js release schedule: https://nodejs.org/en/about/previous-releases
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: npm run test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: yarn install
- run: yarn run prettier-check
- run: yarn run eslint