Skip to content

Commit

Permalink
fix .drone.yml, add tsc to yarn start
Browse files Browse the repository at this point in the history
  • Loading branch information
gottfired committed Apr 17, 2024
1 parent f76e394 commit f447a91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ pipeline:
"docker build (target builder)":
group: pre-build
<<: *DOCKER_BUILD_SETTINGS_BUILDER
<<: *WHEN_BUILD_EVENT
when:
event: *BUILD_EVENTS

# ---------------------------------------------------------------------------
# BUILD
Expand All @@ -111,7 +112,8 @@ pipeline:
"docker build (target runner)":
group: build
<<: *DOCKER_BUILD_SETTINGS_RUNNER
<<: *WHEN_BUILD_EVENT
when:
event: *BUILD_EVENTS

# ---------------------------------------------------------------------------
# CHECK
Expand All @@ -134,7 +136,7 @@ pipeline:
image: *IMAGE_BUILDER_ID
commands:
- cd /app
- yarn test:components
- yarn test:ci
<<: *WHEN_BUILD_EVENT

# ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"zustand": "^4.3.7"
},
"scripts": {
"start": "vite",
"start": "vite & tsc --noEmit --watch",
"start:clean-cache": "vite --force",
"build": "yarn license-check && tsc && vite build --base=./ &&./scripts/check-license-file.sh",
"serve": "vite preview",
Expand Down

0 comments on commit f447a91

Please sign in to comment.