mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
feat: add Bun as a supported runtime (#596)
* 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
This commit is contained in:
parent
c5f8ec521d
commit
db2f61de91
3 changed files with 41 additions and 1 deletions
39
.github/workflows/bun.yml
vendored
Normal file
39
.github/workflows/bun.yml
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
|
||||||
|
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
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
## To Be Released...
|
## To Be Released...
|
||||||
## 5.X.Y
|
## 5.X.Y
|
||||||
* Fix the `name` field on Minecraft servers running Velocity with multiple layers of color encoding (#595)
|
* Fix the `name` field on Minecraft servers running Velocity with multiple layers of color encoding (#595)
|
||||||
|
* Added [Bun](https://bun.sh/) runtime support (#596)
|
||||||
|
|
||||||
## 5.1.0
|
## 5.1.0
|
||||||
* FOUNDRY - Added support (#585)
|
* FOUNDRY - Added support (#585)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# node-GameDig - Game Server Query Library
|
# node-GameDig - Game Server Query Library
|
||||||
[](https://www.npmjs.com/package/gamedig)  
|
[](https://www.npmjs.com/package/gamedig)   
|
||||||
|
|
||||||
**node-GameDig** is a game server query Node.js module (as well as a [command line executable](#usage-from-command-line)),
|
**node-GameDig** is a game server query Node.js module (as well as a [command line executable](#usage-from-command-line)),
|
||||||
capable of querying for the status of nearly any game or voice server.
|
capable of querying for the status of nearly any game or voice server.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue