Skip to content

Commit 6823ec1

Browse files
committed
feat: prefetch all projects
1 parent e7c9958 commit 6823ec1

File tree

14 files changed

+202141
-369
lines changed

14 files changed

+202141
-369
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
test_build:
1515
name: Run Tests + Build
1616
runs-on: ubuntu-latest
17+
env:
18+
PIPELINE_TYPE: cd
1719

1820
steps:
1921
# NOTE: This uses default branch which is `main`
@@ -36,7 +38,7 @@ jobs:
3638

3739
- name: Download data
3840
# NOTE: This will add env.MAPSWIPE_API_LAST_MODIFIED_EPOCH
39-
run: ./scripts/download-data.sh
41+
run: yarn fetch-data
4042
env:
4143
MAPSWIPE_API_ENDPOINT: ${{ vars.MAPSWIPE_API_ENDPOINT }}
4244

@@ -47,7 +49,6 @@ jobs:
4749
# Common
4850
NODE_OPTIONS: --max_old_space_size=4096
4951
# App ENV
50-
MAPSWIPE_COMMUNITY_API_ENDPOINT: ${{ vars.MAPSWIPE_COMMUNITY_API_ENDPOINT }}
5152
MAPSWIPE_API_ENDPOINT: ${{ vars.MAPSWIPE_API_ENDPOINT }}
5253
NEXT_PUBLIC_POSTHOG_KEY: ${{ vars.NEXT_PUBLIC_POSTHOG_KEY }}
5354
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)