Skip to content

Commit

Permalink
chore(mise.toml): remove workaround for mise tasks bug (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
risu729 authored Nov 6, 2024
1 parent 12635b1 commit 91d67aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ jobs:

- name: Get Wrangler args
id: wrangler-args
# working-directory must be set to the root of the repository
# otherwise, mise run fails to execute the task
# ref: https://github.com/jdx/mise/issues/1660
run: |
args=$(mise run worker:wrangler-args)
echo "args=${args}" >> "${GITHUB_OUTPUT}"
Expand Down
5 changes: 2 additions & 3 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,8 @@ hide = true

[tasks."worker:dev"]
depends = ["buni:worker"]
# use bun --cwd instead of dir to avoid mise tasks executed not in the root directory
# ref: https://github.com/jdx/mise/issues/1660
run = "bun run --cwd worker wrangler dev $(mise run worker:wrangler-args)"
dir = "worker"
run = "bun run wrangler dev $(mise run worker:wrangler-args)"

[tasks."worker:test"]
depends = ["buni:worker"]
Expand Down

0 comments on commit 91d67aa

Please sign in to comment.