chore: heygermany customer project
This commit is contained in:
26
.github/workflows/develop.yml
vendored
Normal file
26
.github/workflows/develop.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Develop
|
||||
run-name: The develop workflow
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
name: Setup and Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup environment
|
||||
uses: ./.github/actions/setup-environment
|
||||
|
||||
- name: Run Tests
|
||||
run: bun run test
|
||||
52
.github/workflows/main.yml
vendored
Normal file
52
.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
name: Main
|
||||
run-name: The main release workflow
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
name: Setup and Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup environment
|
||||
uses: ./.github/actions/setup-environment
|
||||
|
||||
- name: Run Tests
|
||||
run: bun run test
|
||||
|
||||
website-build:
|
||||
name: Build Website
|
||||
runs-on: ubuntu-latest
|
||||
needs: setup
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# If your build generates code artifacts in prior jobs, keep this;
|
||||
# otherwise you can remove it.
|
||||
- name: Download generated files
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: generated-code
|
||||
path: ${{ github.workspace }}
|
||||
continue-on-error: true
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: 1.3.14
|
||||
|
||||
- run: bun install --frozen-lockfile
|
||||
|
||||
- name: Build NextJS Standalone App
|
||||
run: bun run build:website
|
||||
Reference in New Issue
Block a user