Skip to content

fix: fix package.json entrypoint mapping #23

fix: fix package.json entrypoint mapping

fix: fix package.json entrypoint mapping #23

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
pull_request:
branches:
- '*'
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v1
- run: bun install
- name: Lint
run: bun run lint
- name: Build
run: bun run build
- name: Run tests
run: bun run test
- name: Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Check example folder
run: |
cd example
bun install
bun run lint
bun run build
publish:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v1
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- run: bun install
- name: Release
run: |
bun run build
bun run semantic-release