Skip to content

Commit

Permalink
fix: github workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ludtkemorgan committed Mar 6, 2024
1 parent 732ec21 commit f78b505
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cypress_public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
- name: yarn in root dir
run: yarn

- name: yarn in backend/core dir
working-directory: ./backend/core
- name: yarn in api dir
working-directory: ./api
run: yarn

- name: Check postgres
Expand All @@ -73,7 +73,7 @@ jobs:
PGPASSWORD: bloom

- name: Setup backend
run: yarn test:backend:core:dbsetup
run: yarn test:backend:new:dbsetup:withseed
env:
PGHOST: 127.0.0.1
PGPASSWORD: bloom
Expand All @@ -96,7 +96,7 @@ jobs:
with:
working-directory: ./sites/public
build: yarn build
start: yarn dev:listings, yarn start
start: yarn dev:new-backend, yarn start
wait-on: 'http://localhost:3100/jurisdictions'
record: false # set this value to true to record videos in cypress cloud for debugging purposes - skip passing tests
env:
Expand Down
2 changes: 1 addition & 1 deletion api/prisma/seed-helpers/listing-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const listingFactory = async (
const reservedCommunityType = await reservedCommunityTypeFactoryGet(
prismaClient,
jurisdictionId,
optionalParams.reservedCommunityType,
optionalParams?.reservedCommunityType,
);
return {
createdAt: new Date(),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"test:backend:new:e2e": "cd api && yarn jest --config ./test/jest-e2e.config.js --detectOpenHandles",
"test:backend:new:cov": "cd api && yarn jest --config ./test/jest-with-coverage.config.js --detectOpenHandles --logHeapUsage",
"test:backend:new:dbsetup": "cd api && yarn db:migration:run",
"test:backend:new:dbsetup:withseed": "cd api && yarn db:migration:run && yarn db:seed:staging --jurisdictionName Bay Area",
"test:backend:new:dbsetup:withseed": "cd api && yarn db:migration:run && yarn db:seed:staging",
"backend:new:install": "cd api && yarn install",
"prettier": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\""
},
Expand Down
2 changes: 1 addition & 1 deletion sites/partners/src/lib/listings/formTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export type FormListing = Omit<Listing, "countyCode"> & {
whereApplicationsDroppedOff?: ApplicationAddressTypeEnum | AnotherAddressEnum
whereApplicationsPickedUp?: ApplicationAddressTypeEnum | AnotherAddressEnum
whereApplicationsMailedIn?: ApplicationAddressTypeEnum | AnotherAddressEnum
isExternal: boolean
// isExternal: boolean
}

export const addressTypes = {
Expand Down

0 comments on commit f78b505

Please sign in to comment.