add prod build test GH action
This commit is contained in:
parent
7d6bf5612e
commit
45b31d704e
1 changed files with 24 additions and 0 deletions
24
.github/workflows/build-test.yml
vendored
Normal file
24
.github/workflows/build-test.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: Test Production Build
|
||||
|
||||
on:
|
||||
# Runs on pushes targeting the default branch
|
||||
push:
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup and Install dependencies
|
||||
run: bun run setup
|
||||
- name: run production mode
|
||||
run: bun run prod
|
||||
|
||||
Loading…
Reference in a new issue