Skip to content

Commit

Permalink
[#43] 🔨 Execute build script before test script
Browse files Browse the repository at this point in the history
  • Loading branch information
yongholeeme committed Dec 20, 2024
1 parent fd2cb9b commit c7101d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"prettier:fix": "prettier --write '**/*.{json,yaml,md,ts,tsx,js,jsx}'",
"markdownlint": "markdownlint '**/*.md' '#.changeset' '#**/CHANGELOG.md'",
"markdownlint:fix": "markdownlint --fix '**/*.md' '#.changeset' '#**/CHANGELOG.md'",
"test": "turbo run test",
"test:watch": "turbo run test:watch",
"test": "turbo test",
"test:watch": "turbo test:watch",
"release": "changeset publish"
},
"lint-staged": {
Expand Down
6 changes: 3 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"test": {"cache": false},
"test:watch": {"cache": false},
"build": {"cache": false, "dependsOn": ["^build"]}
"build": {"cache": false, "dependsOn": ["^build"], "outputs": ["dist/**"]},
"test": {"cache": false, "dependsOn": ["build"]},
"test:watch": {"cache": false, "dependsOn": ["build"]}
}
}

0 comments on commit c7101d8

Please sign in to comment.