Skip to content

Distribute package as both ESM and CJS (#25) #62

Distribute package as both ESM and CJS (#25)

Distribute package as both ESM and CJS (#25) #62

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm i
- name: Build code
run: npm run build
- name: Run prettier
run: npm run check