add daemon #162
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting Checks | |
on: | |
pull_request: | |
branches: ["*"] | |
push: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
lint-frontend: | |
runs-on: ubuntu-latest | |
name: Lint Frontend | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref || github.ref_name }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Frontend format check | |
working-directory: frontend | |
run: npm ci && npm run lint | |
lint-backend: | |
runs-on: ubuntu-latest | |
name: Lint Backend | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref || github.ref_name }} | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 'latest' | |
- name: Install dependencies | |
working-directory: backend | |
run: bun install --dev | |
- name: Prettier format check | |
working-directory: backend | |
run: bun run lint |