Skip to content

chore(deps): update nextjs monorepo #105

chore(deps): update nextjs monorepo

chore(deps): update nextjs monorepo #105

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: 'Build 🧱'
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@master
- name: Setup 👨🏻‍💻
uses: ./.github/actions/setup
with:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
- name: Build Application 🧱
run: bun run build
env:
DATABASE_URL: url
AUTH_DISCORD_ID: secret
AUTH_DISCORD_SECRET: secret
AUTH_GITHUB_ID: secret
AUTH_GITHUB_SECRET: secret
AUTH_SECRET: secret
lint:
name: 'Lint 🐱'
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@master
- name: Setup 👨🏻‍💻
uses: ./.github/actions/setup
with:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
- name: Lint JS files 🐱
run: bun run lint
env:
DATABASE_URL: url
AUTH_DISCORD_ID: secret
AUTH_DISCORD_SECRET: secret
AUTH_GITHUB_ID: secret
AUTH_GITHUB_SECRET: secret
AUTH_SECRET: secret
test:
name: 'Test 🧪'
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@master
- name: Setup 👨🏻‍💻
uses: ./.github/actions/setup
with:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
- name: Run unit tests 🧪
run: bun run test:coverage
- name: Collect coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}