Skip to content

Support CJS and ESM properly #84

Support CJS and ESM properly

Support CJS and ESM properly #84

Workflow file for this run

name: Release
on: [push]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: pnpm/action-setup@v4
with:
version: 9.4.0
run_install: true
- run: pnpm build
- name: Release
run: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}