Skip to content

Commit

Permalink
Update TS to 1.9.0 (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource authored Jan 26, 2024
1 parent a91f131 commit 5a43f3f
Show file tree
Hide file tree
Showing 4 changed files with 382 additions and 351 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ jobs:
- name: Run local scenario with worker
run: ./temporal-omes run-scenario-with-worker --scenario workflow_with_single_noop_activity --log-level debug --language ts --embedded-server --iterations 5
- name: Build worker image
run: ./temporal-omes build-worker-image --language ts --version 1.9.0-rc.0 --tag-as-latest
run: ./temporal-omes build-worker-image --language ts --version 1.9.0 --tag-as-latest
- name: Run worker image
run: docker run --rm --detach -i -p 10233:10233 omes:typescript-1.9.0-rc.0 --scenario workflow_with_single_noop_activity --log-level debug --language ts --run-id {{ github.run_id }} --embedded-server-address 0.0.0.0:10233
run: docker run --rm --detach -i -p 10233:10233 omes:typescript-1.9.0 --scenario workflow_with_single_noop_activity --log-level debug --language ts --run-id {{ github.run_id }} --embedded-server-address 0.0.0.0:10233
- name: Run scenario against image
run: ./temporal-omes run-scenario --scenario workflow_with_single_noop_activity --log-level debug --server-address 127.0.0.1:10233 --run-id {{ github.run_id }} --connect-timeout 1m --iterations 5

Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
do-push: true
as-latest: true
go-version: 'v1.25.2-0.20231129171107-288a04f72145'
ts-version: 'v1.9.0-rc.0'
ts-version: 'v1.9.0'
java-version: 'v1.22.3'
py-version: 'v1.4.0'
dotnet-version: 'v1.0.0'
2 changes: 1 addition & 1 deletion cmd/prepare_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (b *workerBuilder) buildTypeScript(ctx context.Context, baseDir string) (sd
}
for _, line := range strings.Split(string(b), "\n") {
line = strings.TrimSpace(line)
if strings.HasPrefix(line, "\"temporalio\":") {
if strings.HasPrefix(line, "\"temporalio:\"") || strings.HasPrefix(line, "\"@temporalio/") {
split := strings.Split(line, "\"")
version = split[len(split)-2]
break
Expand Down
Loading

0 comments on commit 5a43f3f

Please sign in to comment.