Skip to content

v0.5: Vite 5, ESM, drop support for now builtin ?inline [publish] #14

v0.5: Vite 5, ESM, drop support for now builtin ?inline [publish]

v0.5: Vite 5, ESM, drop support for now builtin ?inline [publish] #14

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
if: ${{ contains(github.event.head_commit.message, '[publish]') }}
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun i
- run: bun ci
- uses: ArnaudBarre/npm-publish@v1
with:
working-directory: dist
npm-token: ${{ secrets.NPM_TOKEN }}