From 02c1d837ae03d65a790ca5a917916e31e1d9c0a0 Mon Sep 17 00:00:00 2001 From: Oleksandr Fediashov Date: Thu, 18 May 2023 11:12:27 +0200 Subject: [PATCH] chore: add test-ssr to buildci script --- azure-pipelines.yml | 4 ++-- lage.config.js | 1 + package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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",