Skip to content

fix: use import type to fix ESM import error #18

fix: use import type to fix ESM import error

fix: use import type to fix ESM import error #18

Workflow file for this run

name: Publish
on:
push:
branches: [main]
jobs:
test:
uses: ./.github/workflows/test.yml
release:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: "yarn"
- name: Install
run: yarn install --immutable
- name: Build
run: yarn build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn semantic-release