Skip to content

Commit

Permalink
fix: building paraglide before checking type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dafuga committed Oct 3, 2024
1 parent 7a5c59d commit b23e3ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ jobs:
fetch-depth: 1
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run build-paraglide
- run: bunx tsc --noemit
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"private": true,
"scripts": {
"dev": "vite dev",
"build": "npx @inlang/paraglide-js compile --project ./project.inlang --outdir ./src/lib/paraglide && vite build",
"build-paraglide": "npx @inlang/paraglide-js compile --project ./project.inlang --outdir ./src/lib/paraglide",
"build": "bun run build-paraglide && vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
Expand Down

0 comments on commit b23e3ae

Please sign in to comment.