Skip to content

chore(deps): update dependency eslint-plugin-sonarjs to v2 - autoclosed #95

chore(deps): update dependency eslint-plugin-sonarjs to v2 - autoclosed

chore(deps): update dependency eslint-plugin-sonarjs to v2 - autoclosed #95

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 }}