diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1963436..944205c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,10 @@ on: push: branches: - - main + - main pull_request: branches: - - main + - main jobs: test: name: unit test @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 - name: setup pnpm uses: pnpm/action-setup@v3 - with: + with: version: latest run_install: true - run: pnpm test diff --git a/index.ts b/index.ts index 4798545..acfe9df 100644 --- a/index.ts +++ b/index.ts @@ -1 +1,2 @@ export {default} from './lib/index.js'; +export {template} from './lib/utils.js'; diff --git a/package.json b/package.json index 7acd25a..b075f24 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zhouhua-dev/remark-media-card", - "version": "1.1.3", + "version": "1.1.4", "description": "remark plugin to support media card", "license": "MIT", "homepage": "https://github.com/zhouhua/remark-media-card",