Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utils vitest + run eslint and tests in CI build #23

Merged
merged 6 commits into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ jobs:
run: node common/scripts/install-run-rush.js install
- name: Rush rebuild
run: node common/scripts/install-run-rush.js rebuild --verbose
- name: Rush test
run: node common/scripts/install-run-rush.js test
- name: Rush eslint
run: node common/scripts/install-run-rush.js eslint
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "streetsidesoftware.code-spell-checker"]
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "streetsidesoftware.code-spell-checker", "vitest.explorer"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@ilbrando/eslint-plugin",
"comment": "Remove eslint script",
"type": "none"
}
],
"packageName": "@ilbrando/eslint-plugin"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@ilbrando/simple-form-joy",
"comment": "Eslint script",
"type": "patch"
}
],
"packageName": "@ilbrando/simple-form-joy"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@ilbrando/simple-form-material-ui",
"comment": "Esline script",
"type": "patch"
}
],
"packageName": "@ilbrando/simple-form-material-ui"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@ilbrando/simple-form",
"comment": "Eslint script",
"type": "patch"
}
],
"packageName": "@ilbrando/simple-form"
}
10 changes: 10 additions & 0 deletions common/changes/@ilbrando/utils/utils-vitest_2024-11-09-17-07.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@ilbrando/utils",
"comment": "Eslint script and unit tests",
"type": "patch"
}
],
"packageName": "@ilbrando/utils"
}
10 changes: 9 additions & 1 deletion common/config/rush/command-line.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,19 @@
// */
// // "autoinstallerName": "my-task"
// }
{
"commandKind": "bulk",
"name": "test",
"summary": "Run unit tests.",
"enableParallelism": true,
"ignoreMissingScript": true
},
{
"commandKind": "bulk",
"name": "eslint",
"summary": "Lints all projects",
"enableParallelism": false
"enableParallelism": false,
"ignoreMissingScript": true
}
],

Expand Down
Loading
Loading