mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
feat: upgrade build bot
This commit is contained in:
1 parent
a5fd786d64
commit
01af4d457a
2 files changed
+6
-15
No files matched your search
@@ -12,26 +12,17 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Use node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install Yarn
|
||||
run: npm install --location=global yarn
|
||||
- uses: actions/checkout@v4
|
||||
- uses: oven-sh/setup-bun@v1
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn
|
||||
run: bun install
|
||||
|
||||
- name: Build Prisma
|
||||
run: yarn prisma generate
|
||||
run: bun prisma generate
|
||||
|
||||
- name: Build
|
||||
run: yarn build:bot --production
|
||||
run: bun build:bot --production
|
||||
|
||||
- name: Archive build
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in new issue
Block a user