Skip to content

Adjust the action scripts #1

Adjust the action scripts

Adjust the action scripts #1

name: Publish Any Commit
on: [push, pull_request]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Bun.js
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.27
package-manager: bun
- name: Install dependencies
run: bun install --no-frozen-lockfile
- name: Build
run: bun run build:bun
- name: Publish
run: bun --yes pkg-pr-new publish