Skip to content

Commit

Permalink
Add CI task (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dassderdie authored Jan 9, 2022
1 parent a3ebf59 commit 3d1718a
Showing 1 changed file with 34 additions and 4 deletions.
38 changes: 34 additions & 4 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"tasks": [
{
"label": "Start all & cypress",
"dependsOn": [
"Start all",
"Start cypress"
],
"dependsOn": ["Start all", "Start cypress"],
"problemMatcher": []
},
{
Expand All @@ -15,6 +12,17 @@
"isBackground": true,
"problemMatcher": []
},
{
"label": "Run CI",
"dependsOn": [
"Prettier",
"Lint",
"Test",
"Start all",
"Cypress:run"
],
"problemMatcher": []
},
{
"label": "Start frontend",
"type": "npm",
Expand Down Expand Up @@ -43,6 +51,28 @@
"path": "shared/",
"group": "build",
"problemMatcher": []
},
{
"label": "Prettier",
"type": "npm",
"script": "prettier:check"
},
{
"label": "Test",
"type": "npm",
"script": "test"
},
{
"label": "Lint",
"type": "npm",
"script": "lint",
"problemMatcher": ["$eslint-compact"]
},
{
"label": "Cypress:run",
"type": "npm",
"script": "cy:run",
"path": "frontend/"
}
]
}

0 comments on commit 3d1718a

Please sign in to comment.