Skip to content
Closed
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
5 changes: 4 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: 1.x.x
deno-version: 1.38.5

- name: Check types
run: deno check mod.ts
Expand All @@ -33,5 +33,8 @@ jobs:
- name: Test
run: deno task test

- name: Ensure output directories exist
run: mkdir -p bin/macos bin/macos-arm bin/linux bin/windows

- name: Build
run: deno task compile
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: 1.x.x
deno-version: 1.38.5

- name: Install semantic release
run: |
Expand Down
8 changes: 5 additions & 3 deletions commands/machine/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ export const MachineAutoSnapshotFrequencySchema = z.enum([
"daily",
"weekly",
"monthly",
]);
]).optional();

export const MachineRestorePointFrequencySchema = z.enum(["shutdown"]);
export const MachineRestorePointFrequencySchema = z.enum(["shutdown"])
.optional();

export const MachinePublicIpTypeSchema = z.enum(["static", "dynamic", "none"]);
export const MachinePublicIpTypeSchema = z.enum(["static", "dynamic", "none"])
.optional();