diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ab067d..bbb061b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,40 +1,40 @@ name: CI on: - push: - branches: - - main - pull_request: + push: + branches: + - main + pull_request: permissions: - actions: read - contents: read + actions: read + contents: read jobs: - main: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - with: - filter: tree:0 - fetch-depth: 0 + main: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + with: + filter: tree:0 + fetch-depth: 0 - # This enables task distribution via Nx Cloud - # Run this command as early as possible, before dependencies are installed - # Learn more at https://nx.dev/docs/reference/nx-cloud-cli#npx-nxcloud-startcirun - - run: npx nx start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="e2e" + # This enables task distribution via Nx Cloud + # Run this command as early as possible, before dependencies are installed + # Learn more at https://nx.dev/docs/reference/nx-cloud-cli#npx-nxcloud-startcirun + - run: npx nx start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="e2e" - # Cache node_modules - - uses: actions/setup-node@v5 - with: - node-version: 24 - cache: 'npm' + # Cache node_modules + - uses: actions/setup-node@v5 + with: + node-version: 24 + cache: 'npm' - - run: npm ci + - run: npm ci - # Prepend any command with "nx record --" to record its logs to Nx Cloud - - run: npx nx record -- npx nx format:check --base="remotes/origin/main" - - run: npx nx run-many -t lint test build typecheck e2e - # Nx Cloud recommends fixes for failures to help you get CI green faster. Learn more: https://nx.dev/docs/features/ci-features/self-healing-ci - - run: npx nx fix-ci - if: always() + # Prepend any command with "nx record --" to record its logs to Nx Cloud + - run: npx nx record -- npx nx format:check --base="remotes/origin/main" + - run: npx nx run-many -t lint test build typecheck e2e + # Nx Cloud recommends fixes for failures to help you get CI green faster. Learn more: https://nx.dev/docs/features/ci-features/self-healing-ci + - run: npx nx fix-ci + if: always() diff --git a/.prettierignore b/.prettierignore index e299534..52f2304 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,3 +5,4 @@ /.nx/workspace-data .nx/self-healing /.claude +/.agents diff --git a/apps/api/src/app/app.controller.ts b/apps/api/src/app/app.controller.ts index f72a1c1..8f4b811 100644 --- a/apps/api/src/app/app.controller.ts +++ b/apps/api/src/app/app.controller.ts @@ -1,4 +1,5 @@ import { Controller, Get } from '@nestjs/common'; + import { AppService } from './app.service'; @Controller() diff --git a/apps/api/src/app/app.module.ts b/apps/api/src/app/app.module.ts index da156b4..22e614e 100644 --- a/apps/api/src/app/app.module.ts +++ b/apps/api/src/app/app.module.ts @@ -1,4 +1,5 @@ import { Module } from '@nestjs/common'; + import { AppController } from './app.controller'; import { AppService } from './app.service'; diff --git a/apps/api/src/config/typeorm.config.ts b/apps/api/src/config/typeorm.config.ts index 7cd920e..19da31c 100644 --- a/apps/api/src/config/typeorm.config.ts +++ b/apps/api/src/config/typeorm.config.ts @@ -1,5 +1,6 @@ -import { config } from 'dotenv'; import * as path from 'path'; + +import { config } from 'dotenv'; import { DataSource } from 'typeorm'; import { migrations } from '../database/migrations'; diff --git a/apps/web/src/app/app.tsx b/apps/web/src/app/app.tsx index c973de6..33942b1 100644 --- a/apps/web/src/app/app.tsx +++ b/apps/web/src/app/app.tsx @@ -1,6 +1,6 @@ -import NxWelcome from './nx-welcome'; +import { Link, Route, Routes } from 'react-router-dom'; -import { Route, Routes, Link } from 'react-router-dom'; +import NxWelcome from './nx-welcome'; export function App() { return ( @@ -28,7 +28,8 @@ export function App() { path="/" element={
You can activate distributed tasks executions and caching by running:
++ You can activate distributed tasks executions and caching by + running: +
nx connect
Here are some things you can do with Nx:
Carefully crafted with
-
+
Health