diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 00e58ddc63b17e..ba1cffac7bdb94 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -63,8 +63,8 @@ jobs: DANGER_GITHUB_API_TOKEN: $(DANGER_GITHUB_API_TOKEN) - script: | - yarn buildci $(sinceArg) - displayName: build, test, lint + yarn buildci $(sinceArg) + displayName: build, test, lint, test-ssr - template: .devops/templates/cleanup.yml diff --git a/lage.config.js b/lage.config.js index ce4035b7d54f93..77ac03ddcbefa3 100644 --- a/lage.config.js +++ b/lage.config.js @@ -9,6 +9,7 @@ module.exports = { lint: ['build'], clean: [], test: ['build'], + 'test-ssr': [], 'type-check': ['build'], 'code-style': [], 'update-snapshots': ['^update-snapshots'], diff --git a/package.json b/package.json index fc1dd0c96461c7..4c9e66b944d1c2 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "build": "lage build --verbose", "build:codesandbox": "yarn build --to @fluentui/react --to @fluentui/react-components", "build:fluentui:docs": "gulp build:docs", - "buildci": "lage build test lint type-check --verbose", + "buildci": "lage build test lint type-check test-ssr --verbose", "builddemo": "yarn build --to public-docsite-resources", "buildto": "lage build --verbose --to", "buildto:lerna": "node ./scripts/executors/buildTo.js",