mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
add github actions to upload
This commit is contained in:
parent
a0d65ec1f7
commit
c1c359e6b9
23
.github/workflows/upload-zip.yml
vendored
Normal file
23
.github/workflows/upload-zip.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: Upload zip
|
||||||
|
|
||||||
|
on: [workflow_dispatch]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Install bun
|
||||||
|
uses: oven-sh/setup-bun@v2
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bun install --frozen-lockfile
|
||||||
|
- name: Build
|
||||||
|
run: bun run build
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: minexlauncher
|
||||||
|
path: public/
|
||||||
|
if-no-files-found: error
|
||||||
|
compression-level: 9
|
@ -5,8 +5,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "NODE_ENV=production bun run ./server.ts",
|
"start": "NODE_ENV=production bun run ./server.ts",
|
||||||
"dev": "NODE_ENV=development DEBUG=minexlauncher:* bun --hot run ./server.ts",
|
"dev": "NODE_ENV=development DEBUG=minexlauncher:* bun --hot run ./server.ts",
|
||||||
"lint": "eslint ./src/ && tsc",
|
"lint": "eslint ./src/resources/scripts/ && tsc",
|
||||||
"lint:fix": "eslint --fix ./src/ && tsc",
|
"lint:fix": "eslint --fix ./src/resources/scripts/ && tsc",
|
||||||
"build": "NODE_ENV=production bun run ./build.ts",
|
"build": "NODE_ENV=production bun run ./build.ts",
|
||||||
"build:dev": "NODE_ENV=development bun run ./build.ts"
|
"build:dev": "NODE_ENV=development bun run ./build.ts"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user