Skip to content

Commit

Permalink
ci: add build in pr ci
Browse files Browse the repository at this point in the history
  • Loading branch information
SolP-Aleios committed Oct 20, 2023
1 parent da4d710 commit 36cab2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defaults:

jobs:
run-tests:
name: Deploy and Run Tests
name: Deploy and Run Tests
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
Expand All @@ -39,6 +39,8 @@ jobs:
cache: "pnpm"
- name: Install Top Level Dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
Expand All @@ -61,5 +63,5 @@ jobs:
pnpm deploy-dev
- name: "🧪 Test unit and integration"
run: pnpm test --verbose
- name: '🧪 Test linter'
- name: "🧪 Test linter"
run: pnpm lint-test
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { type PutEventsResponse } from "@aws-sdk/client-eventbridge";
import { Event } from "dist/classes/Event";
import { PersonRegisteredContract } from "example-architecture/events/contracts/personRegisteredContractV1";
import { getEnvVariable } from "example-architecture/helpers/getEnvVariable";
import { Event } from "dist/classes/Event";

export const handler = async (): Promise<PutEventsResponse> => {
const contract: PersonRegisteredContract = {
Expand Down

0 comments on commit 36cab2d

Please sign in to comment.