Skip to content

Update bun-build.yml #2

Update bun-build.yml

Update bun-build.yml #2

Workflow file for this run

name: BunJS with Bun Build
permissions:
contents: write
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Bun.js
uses: oven-sh/setup-bun@v2
- name: Build
run: |
bun build --bundle ./src/Main.ts --outdir=out/ --outfile=out/plugin.js --target browser --entry-naming EaglerForge-[hash].js
- name: Write changes to repository
uses: stefanzweifel/git-auto-commit-action@v4