Add linter to azure-pipeline
This commit is contained in:
parent
8cda37e1a6
commit
c7eb9672ab
2 changed files with 5 additions and 0 deletions
|
@ -61,6 +61,10 @@ steps:
|
|||
kill -2 %1 %2 2>/dev/null
|
||||
displayName: 'Test on Node.js 18.x Latest'
|
||||
|
||||
- bash: |
|
||||
pnpm run linter
|
||||
displayName: 'Run eslint on src'
|
||||
|
||||
- publish: $(System.DefaultWorkingDirectory)/dist
|
||||
artifact: svg-layout-designer
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"build": "tsc && vite build",
|
||||
"build:dotnet": "dotnet build ./csharp/SVGLDLibs/SVGLDLibs/SVGLDLibs.csproj",
|
||||
"preview": "vite preview",
|
||||
"linter": "eslint src",
|
||||
"test": "vitest",
|
||||
"test:ui": "vitest --ui",
|
||||
"test:nowatch": "vitest run",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue