Skip to content

YOU DONT KNOW ME SON #19

YOU DONT KNOW ME SON

YOU DONT KNOW ME SON #19

Workflow file for this run

name: BunJS with esbuild
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setting environment...
uses: oven-sh/setup-bun@v2 # fuck it just switch to bun
- name: Installing dependencies..
run: bun install -g esbuild
- name: Building project.. ( esbuild )
run: esbuild --bundle src/Main.ts --outfile=out/plugin.js --sourcemap=inline # custom
env:
NODE_ENV: production
- name: Write changes to repository
uses: stefanzweifel/git-auto-commit-action@v5
- name: bad devs!!!!!
if: failure()
run: exit 1