mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 10:10:55 +00:00
initial bun setup
This commit is contained in:
@@ -8,14 +8,14 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: false
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v4
|
||||
- name: Setup bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
node-version: 20
|
||||
- name: Setup npm
|
||||
run: npm install
|
||||
bun-version: 1.2.4
|
||||
- name: install packages
|
||||
run: bun install
|
||||
- name: Build
|
||||
run: npm run build-prod
|
||||
run: bun run build-prod
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: out/index.html
|
||||
|
||||
@@ -10,9 +10,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
node-version: "20"
|
||||
cache: "npm"
|
||||
- run: npm ci
|
||||
- run: npx prettier --check .
|
||||
bun-version: 1.2.4
|
||||
- run: bun i
|
||||
- run: bunx prettier --check .
|
||||
|
||||
Reference in New Issue
Block a user