mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 07:07:33 +00:00
* feat: add badge to the README * chore: changelog * feat: add bun workflow * oops change workflow name it was totally not copy pasted I swear * workflow pls trigger * revert last commit * fix bun workflow * specify target bun in workflow
39 lines
734 B
YAML
39 lines
734 B
YAML
|
|
name: Bun
|
|
|
|
on:
|
|
push:
|
|
branches: ["master"]
|
|
paths:
|
|
- "**.js" # Any JS file
|
|
- "package.json"
|
|
- "package-lock.json"
|
|
- ".github/workflows/bun.yml" # This action
|
|
pull_request:
|
|
branches: ["master"]
|
|
paths:
|
|
- "**.js" # Any JS file
|
|
- "package.json"
|
|
- "package-lock.json"
|
|
- ".github/workflows/bun.yml" # This action
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Setup repo
|
|
uses: actions/checkout@v3
|
|
|
|
- uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: 1.1.21
|
|
|
|
- name: Install Dependencies
|
|
run: bun install
|
|
|
|
- name: Compile
|
|
run: bun build bin/gamedig.js --target=bun
|