Skip to content

Commit

Permalink
build(mongo,mysql,postgres,sqlite): add database tag to nx project
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sa committed Sep 18, 2023
1 parent ae39a67 commit 472f60a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- run: pnpm run install-compiler

- name: Run affected tests for packages
run: pnpm nx affected:test --configuration=ci --exclude='*,!tag:package,postgres,sqlite,mysql,mongo'
run: pnpm nx affected:test --configuration=ci --exclude='*,!tag:package,tag:database'

test-examples:
runs-on: buildjet-2vcpu-ubuntu-2004
Expand Down
5 changes: 3 additions & 2 deletions packages/mongo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@
},
"tags": [
"mongo",
"package"
"package",
"database"
],
"implicitDependencies": [
"type-compiler"
]
}
}
5 changes: 3 additions & 2 deletions packages/mysql/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@
},
"tags": [
"mysql",
"package"
"package",
"database"
],
"implicitDependencies": [
"type-compiler"
]
}
}
5 changes: 3 additions & 2 deletions packages/postgres/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@
},
"tags": [
"postgres",
"package"
"package",
"database"
],
"implicitDependencies": [
"type-compiler"
]
}
}
5 changes: 3 additions & 2 deletions packages/sqlite/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@
},
"tags": [
"sqlite",
"package"
"package",
"database"
],
"implicitDependencies": [
"type-compiler"
]
}
}

0 comments on commit 472f60a

Please sign in to comment.