Skip to content

Commit d8666cf

Browse files
committed
fix(ci): use npx turbo in CI workflow
turbo is a devDependency and its binary is not on PATH in CI. Use npx turbo to resolve from node_modules/.bin.
1 parent adfa143 commit d8666cf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
restore-keys: |
3232
turbo-quality-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-
3333
turbo-quality-${{ runner.os }}-
34-
- run: turbo run _typecheck _test
34+
- run: npx turbo run _typecheck _test
3535

3636
docs:
3737
name: Docs
@@ -51,7 +51,7 @@ jobs:
5151
restore-keys: |
5252
turbo-docs-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-
5353
turbo-docs-${{ runner.os }}-
54-
- run: turbo run _docs:cli _docs:api:html
54+
- run: npx turbo run _docs:cli _docs:api:html
5555
- uses: actions/upload-pages-artifact@v3
5656
with:
5757
path: site/
@@ -94,7 +94,7 @@ jobs:
9494
restore-keys: |
9595
turbo-release-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-
9696
turbo-release-${{ runner.os }}-
97-
- run: turbo run _compile _schema
97+
- run: npx turbo run _compile _schema
9898
- name: Record pre-release version
9999
id: pre
100100
run: echo "version=$(npm pkg get version | tr -d '\"')" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)