WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Branch: staging. Event: push. By: bauchdj. #53

Branch: staging. Event: push. By: bauchdj.

Branch: staging. Event: push. By: bauchdj. #53

Workflow file for this run

name: CI
run-name: "Branch: ${{ github.ref_name }}. Event: ${{ github.event_name }}. By: ${{ github.actor }}."
on:
push:
branches: [main, staging]
pull_request:
branches: [main, staging]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run formatter
run: bun format:check
- name: Run linter
run: bun lint
- name: Build application
env:
NODE_ENV: production
DATABASE_URL: postgres://postgres:postgres@localhost:5432/github-actions
NEXT_PUBLIC_BACKEND_URL: http://localhost:1284
NEXT_PUBLIC_FRONTEND_URL: http://localhost:3000
run: bun run build