Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
with:
cache: true

- name: Build Package
run: pnpm run build
- name: Build Package
run: pnpm build

- name: Create Version PR or Publish to NPM
id: changesets
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Publish prereleases
on:
on:
pull_request:
push:
branches:
- main
- next
permissions:

permissions:
contents: read

jobs:
Expand All @@ -23,7 +23,7 @@ jobs:
with:
cache: true

- name: Build Package
run: pnpm run build
- name: Build Package
run: pnpm build

- run: pnpm exec pkg-pr-new publish --comment=update
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
cache: true

- name: Lint
run: pnpm run lint
run: pnpm lint

- name: Format check
run: pnpm run format:check
run: pnpm format:check

- name: Typecheck (root and examples)
run: pnpm run typecheck:all
run: pnpm typecheck:all

- name: Unit tests
run: pnpm run test:unit
run: pnpm test:unit

examples-integration-tests:
name: Examples integration tests
Expand All @@ -47,5 +47,5 @@ jobs:
cache: true

- name: Run integration tests in each example
run: pnpm run test
run: pnpm test
timeout-minutes: 15
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint": "eslint src",
"format": "prettier --write \"src/**/*.ts\" \"examples/**/*.{ts,json,jsonc}\"",
"format:check": "prettier --check \"src/**/*.ts\" \"examples/**/*.{ts,json,jsonc}\"",
"test": "pnpm --recursive --sequential --filter \"./examples/*\" run test",
"test": "pnpm test:unit && pnpm --recursive --sequential --filter \"./examples/*\" run test",
"test:unit": "vitest run src/tests"
},
"exports": {
Expand Down
5 changes: 4 additions & 1 deletion src/lib/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,10 @@ export class Container<Env = Cloudflare.Env> extends DurableObject<Env> {
* @returns A promise that resolves when the container start command has been issued
* @throws Error if no container context is available or if all start attempts fail
*/
public async start(startOptions?: ContainerStartConfigOptions, waitOptions?: WaitOptions) {
public async start(
startOptions?: ContainerStartConfigOptions,
waitOptions?: WaitOptions
): Promise<void> {
const portToCheck =
waitOptions?.portToCheck ??
this.defaultPort ??
Expand Down
File renamed without changes.
Loading