Skip to content

chore: rewrite tsup.config.js to ESM #21

chore: rewrite tsup.config.js to ESM

chore: rewrite tsup.config.js to ESM #21

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
pull_request:
jobs:
lint:
name: run lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
registry-url: 'https://registry.npmjs.org'
- name: npm ci
run: npm ci
- name: run lint
run: npm run lint
build:
name: run build
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
registry-url: 'https://registry.npmjs.org'
- name: npm ci
run: npm ci
- name: run build
run: npm run build