Skip to content

Commit b90ec65

Browse files
committed
improve workflow for monorepo
1 parent dabedad commit b90ec65

File tree

3 files changed

+849
-674
lines changed

3 files changed

+849
-674
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1-
name: NestJS CI
1+
name: Backend | Nest REST API without ORM
22

33
on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'workspaces/backends/nest-no-orm/**'
9+
- 'workspaces/types/**'
10+
- '.github/workflows/backend.yml'
11+
pull_request:
12+
paths:
13+
- 'workspaces/backends/nest-no-orm/**'
14+
- 'workspaces/types/**'
15+
- '.github/workflows/backend.yml'
716

817
jobs:
918
lint:
@@ -12,17 +21,19 @@ jobs:
1221
- name: Checkout repository
1322
uses: actions/checkout@v4
1423

15-
- name: Setup pnpm
16-
uses: pnpm/action-setup@v4
17-
1824
- name: Setup Node.js
1925
uses: actions/setup-node@v4
2026
with:
21-
node-version: '22'
27+
node-version: '24'
2228
cache: 'pnpm'
2329

30+
- name: Setup pnpm
31+
uses: pnpm/action-setup@v4
32+
with:
33+
version: 10
34+
2435
- name: Install dependencies
25-
run: pnpm install
36+
run: pnpm install --filter @cartok/frameworks-backend-nest-no-orm...
2637

2738
- name: Run linter
2839
run: pnpm --filter @cartok/frameworks-backend-nest-no-orm lint

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
"devDependencies": {
1111
"@eslint/js": "~9.14.0",
1212
"@types/eslint__js": "~8.42.3",
13-
"bun": "^1.1.38",
13+
"bun": "^1.3.2",
1414
"eslint": "~9.14.0",
15-
"eslint-config-prettier": "~9.1.0",
16-
"eslint-plugin-react": "^7.37.2",
17-
"eslint-plugin-react-hooks": "^5.0.0",
18-
"eslint-plugin-react-refresh": "^0.4.14",
19-
"eslint-plugin-solid": "~0.14.4",
15+
"eslint-config-prettier": "~9.1.2",
16+
"eslint-plugin-react": "^7.37.5",
17+
"eslint-plugin-react-hooks": "^5.2.0",
18+
"eslint-plugin-react-refresh": "^0.4.24",
19+
"eslint-plugin-solid": "~0.14.5",
2020
"eslint-plugin-vue": "~9.31.0",
2121
"globals": "~15.12.0",
22-
"turbo": "~2.3.0",
23-
"typescript": "~5.7.2",
22+
"turbo": "~2.3.7",
23+
"typescript": "~5.7.3",
2424
"typescript-eslint": "~8.14.0"
2525
},
2626
"scripts": {

0 commit comments

Comments
 (0)