Skip to content

Commit

Permalink
chore: update linting configuration for client and core packages
Browse files Browse the repository at this point in the history
  • Loading branch information
lncitador committed Jun 11, 2024
1 parent dafd572 commit 5fe2526
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 4 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/adonis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: adonisjs

on:
push:
branches: [ main ]
paths:
- 'packages/adonis/**'

workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 8
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Run lint
run: pnpm --filter @cel_cash/adonisjs lint

typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 8
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Build @cel_cash/adonisjs dependencies
run: pnpm --filter @cel_cash/core build
- name: Run typecheck
run: pnpm --filter @cel_cash/adonisjs type-check
2 changes: 1 addition & 1 deletion .github/workflows/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Run lint
run: pnpm biome check packages/client
run: pnpm biome check packages/client/src

typecheck:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Run lint
run: pnpm biome check packages/core
run: pnpm biome check packages/core/src

typecheck:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nest.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: core
name: nestjs

on:
push:
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Run lint
run: pnpm biome check packages/nest
run: pnpm biome check packages/nest/src

typecheck:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5fe2526

Please sign in to comment.