diff --git a/.github/workflows/adonis.yaml b/.github/workflows/adonis.yaml new file mode 100644 index 0000000..56de291 --- /dev/null +++ b/.github/workflows/adonis.yaml @@ -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 \ No newline at end of file diff --git a/.github/workflows/client.yaml b/.github/workflows/client.yaml index 895aa25..78c61e6 100644 --- a/.github/workflows/client.yaml +++ b/.github/workflows/client.yaml @@ -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 diff --git a/.github/workflows/core.yaml b/.github/workflows/core.yaml index 51379bd..b79adc1 100644 --- a/.github/workflows/core.yaml +++ b/.github/workflows/core.yaml @@ -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 diff --git a/.github/workflows/nest.yaml b/.github/workflows/nest.yaml index 7366646..daa1338 100644 --- a/.github/workflows/nest.yaml +++ b/.github/workflows/nest.yaml @@ -1,4 +1,4 @@ -name: core +name: nestjs on: push: @@ -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