Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
5d197989
Unverified
Commit
5d197989
authored
Feb 10, 2022
by
liuzhe-lz
Committed by
GitHub
Feb 10, 2022
Browse files
add webui sanity-check command (#4535)
parent
abd164c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
pipelines/fast-test.yml
pipelines/fast-test.yml
+2
-6
ts/webui/package.json
ts/webui/package.json
+3
-1
No files found.
pipelines/fast-test.yml
View file @
5d197989
...
@@ -81,12 +81,8 @@ stages:
...
@@ -81,12 +81,8 @@ stages:
-
script
:
|
-
script
:
|
set -e
set -e
yarn --cwd ts/webui
yarn --cwd ts/webui
yarn --cwd ts/webui eslint
yarn --cwd ts/webui sanity-check
displayName
:
ESLint (WebUI)
displayName
:
Sanity check (WebUI)
-
script
:
|
yarn --cwd ts/webui tsc
displayName
:
Type Check (WebUI)
# To reduce debug cost, steps are sorted differently on each platform,
# To reduce debug cost, steps are sorted differently on each platform,
...
...
ts/webui/package.json
View file @
5d197989
...
@@ -93,8 +93,10 @@
...
@@ -93,8 +93,10 @@
"start"
:
"node --max-old-space-size=3072 scripts/start.js"
,
"start"
:
"node --max-old-space-size=3072 scripts/start.js"
,
"build"
:
"node --max-old-space-size=3072 scripts/developmentBuild.js"
,
"build"
:
"node --max-old-space-size=3072 scripts/developmentBuild.js"
,
"release"
:
"node --max-old-space-size=3072 scripts/productionBuild.js"
,
"release"
:
"node --max-old-space-size=3072 scripts/productionBuild.js"
,
"sanity-check"
:
"yarn sanity-check:tsc && yarn sanity-check:eslint"
,
"sanity-check:tsc"
:
"tsc"
,
"sanity-check:eslint"
:
"eslint ./ --ext .tsx,.ts"
,
"test"
:
"node --max-old-space-size=3072 scripts/test.js"
,
"test"
:
"node --max-old-space-size=3072 scripts/test.js"
,
"eslint"
:
"npx eslint ./ --ext .tsx,.ts"
,
"stylelint"
:
"npx stylelint **/*{.css,.scss}"
,
"stylelint"
:
"npx stylelint **/*{.css,.scss}"
,
"mock"
:
"node scripts/server.js"
,
"mock"
:
"node scripts/server.js"
,
"dev"
:
"concurrently
\"
yarn mock
\"
\"
yarn start
\"
"
"dev"
:
"concurrently
\"
yarn mock
\"
\"
yarn start
\"
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment