Skip to content

Commit

Permalink
[MS-670] feat: Adjust build CI
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrgrundas committed Oct 22, 2024
1 parent 5034174 commit 5ebc3e3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@master
with:
role-to-assume: arn:aws:iam::414357773561:role/github-actions/mirumee_nimara-mailer
role-to-assume: arn:aws:iam::414357773561:role/nimara-mailer
aws-region: eu-central-1

- name: Copy ZIP
Expand Down
Binary file added lambda-mailer.zip
Binary file not shown.
4 changes: 1 addition & 3 deletions src/lib/config/schema.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { z } from "zod";

export const commonConfigSchema = z.object({
ENVIRONMENT: z
.enum(["development", "local", "test", "production"])
.default("production"),
ENVIRONMENT: z.string().default("dev"),
IS_BROWSER: z.boolean().default(typeof window !== "undefined"),
IS_DEVELOPMENT: z.boolean().default(process.env.NODE_ENV === "development"),
IS_TEST: z.boolean().default(process.env.NODE_ENV === "test"),
Expand Down

0 comments on commit 5ebc3e3

Please sign in to comment.