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