Skip to content

Commit

Permalink
Don't run 'devbox run' in a loop in the CI when building typescript code
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Phoen committed Sep 27, 2024
1 parent 6e9b1fa commit a52346d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ jobs:
--parameters output_dir=./generated/%l,grafana_version=${{ matrix.kind_version == 'next' && 'main' || matrix.kind_version }},kind_registry_version=${{ matrix.kind_version }},go_package_root=github.com/grafana/cog/generated/go
- name: Compile generated Go code
run: ./scripts/ci/build-go.sh
run: devbox run ./scripts/ci/build-go.sh

- name: Compile generated Typescript code
run: ./scripts/ci/build-ts.sh
run: devbox run ./scripts/ci/build-ts.sh

- name: Lint generated Python code
run: devbox run mypy generated/python/
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/build-ts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -o pipefail

for d in generated/typescript/src/*/ ; do
echo "Building $d"
devbox run ts-node "./$d"
ts-node "./$d"
done

0 comments on commit a52346d

Please sign in to comment.