Merged in chore/check-types-before-build (pull request #3326)
chore: check types before build * chore: check types before build * remove unused package.json scripts * merge Approved-by: Linus Flood
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import {
|
||||
bookingTerms,
|
||||
customerService,
|
||||
scandicFriends,
|
||||
privacy,
|
||||
scandicFriends,
|
||||
} from "@scandic-hotels/common/constants/routes/customerService"
|
||||
import { myStay } from "@scandic-hotels/common/constants/routes/myStay"
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
[build]
|
||||
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'release-v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build:sas"
|
||||
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build --filter=@scandic-hotels/partner-sas"
|
||||
publish = "apps/partner-sas/.next"
|
||||
|
||||
ignore = "if [ -z ${CACHED_COMMIT_REF+x} ] ; then echo 'no CACHED_COMMIT_REF found' && false ; else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF apps/partner-sas packages/booking-flow packages/common packages/trpc packages/design-system packages/typescript-config ; fi"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'release-v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build:sas"
|
||||
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build --filter=@scandic-hotels/partner-sas"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'release-v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build:sas"
|
||||
command = "export NEXT_PUBLIC_RELEASE_TAG=$(git tag -l 'v*' | sort -V | tail -n 1) && yarn test --filter=@scandic-hotels/partner-sas && yarn build --filter=@scandic-hotels/partner-sas"
|
||||
|
||||
[build.environment]
|
||||
# set TERM variable for terminal output
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"extends": ["//"],
|
||||
"tasks": {
|
||||
"lint": { "dependsOn": [] },
|
||||
"build": { "dependsOn": ["clean", "include:shared"] },
|
||||
"build": { "dependsOn": ["clean", "include:shared", "check-types"] },
|
||||
"dev": { "dependsOn": ["clean", "include:shared"] },
|
||||
"test": {
|
||||
"dependsOn": [
|
||||
|
||||
Reference in New Issue
Block a user