Skip to content

Commit 3cad8c7

Browse files
committed
feat: prefetch all projects
1 parent e7c9958 commit 3cad8c7

File tree

13 files changed

+202136
-369
lines changed

13 files changed

+202136
-369
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: Download data
3838
# NOTE: This will add env.MAPSWIPE_API_LAST_MODIFIED_EPOCH
39-
run: ./scripts/download-data.sh
39+
run: yarn fetch-data
4040
env:
4141
MAPSWIPE_API_ENDPOINT: ${{ vars.MAPSWIPE_API_ENDPOINT }}
4242

@@ -47,7 +47,6 @@ jobs:
4747
# Common
4848
NODE_OPTIONS: --max_old_space_size=4096
4949
# App ENV
50-
MAPSWIPE_COMMUNITY_API_ENDPOINT: ${{ vars.MAPSWIPE_COMMUNITY_API_ENDPOINT }}
5150
MAPSWIPE_API_ENDPOINT: ${{ vars.MAPSWIPE_API_ENDPOINT }}
5251
NEXT_PUBLIC_POSTHOG_KEY: ${{ vars.NEXT_PUBLIC_POSTHOG_KEY }}
5352
NEXT_PUBLIC_POSTHOG_HOST_API: ${{ vars.NEXT_PUBLIC_POSTHOG_HOST_API }}

codegen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ schema:
44
documents:
55
- "src/**/*.tsx"
66
- "src/**/*.ts"
7+
- "scripts/**/*.ts"
78
- "src/**/*.graphql"
89
generates:
910
./generated/types.ts:

0 commit comments

Comments
 (0)