Skip to content

Commit 88e4875

Browse files
committed
Merge branch 'refactor-build' into develop
2 parents 73aec42 + 64c9331 commit 88e4875

4 files changed

Lines changed: 19 additions & 9 deletions

File tree

.github/workflows/s3-deploy-development.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
key: astro-dev-en-${{ github.sha }}
2525
restore-keys: astro-dev-en-
2626

27-
- run: npm ci --omit=optional
27+
- run: npm ci
28+
env:
29+
PUPPETEER_SKIP_DOWNLOAD: '1'
2830

2931
- name: Build English only
3032
env:
@@ -65,7 +67,9 @@ jobs:
6567
key: astro-dev-${{ matrix.locale }}-${{ github.sha }}
6668
restore-keys: astro-dev-${{ matrix.locale }}-
6769

68-
- run: npm ci --omit=optional
70+
- run: npm ci
71+
env:
72+
PUPPETEER_SKIP_DOWNLOAD: '1'
6973

7074
- name: Build locale ${{ matrix.locale }}
7175
env:

.github/workflows/s3-deploy-production.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ jobs:
7979
key: astro-en-${{ github.sha }}
8080
restore-keys: astro-en-
8181

82-
- run: npm ci --omit=optional
82+
- run: npm ci
83+
env:
84+
PUPPETEER_SKIP_DOWNLOAD: '1'
8385

8486
- name: Build English only
8587
env:
@@ -121,7 +123,9 @@ jobs:
121123
key: astro-${{ matrix.locale }}-${{ github.sha }}
122124
restore-keys: astro-${{ matrix.locale }}-
123125

124-
- run: npm ci --omit=optional
126+
- run: npm ci
127+
env:
128+
PUPPETEER_SKIP_DOWNLOAD: '1'
125129

126130
- name: Build locale ${{ matrix.locale }}
127131
env:
@@ -213,7 +217,9 @@ jobs:
213217
key: astro-${{ matrix.locale }}-${{ github.sha }}
214218
restore-keys: astro-${{ matrix.locale }}-
215219

216-
- run: npm ci --omit=optional
220+
- run: npm ci
221+
env:
222+
PUPPETEER_SKIP_DOWNLOAD: '1'
217223

218224
- name: Build locale ${{ matrix.locale }}
219225
env:

.github/workflows/translate.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ jobs:
4646
cache: 'npm'
4747

4848
- name: Install dependencies
49-
run: npm ci --omit=optional
49+
run: npm ci
50+
env:
51+
PUPPETEER_SKIP_DOWNLOAD: '1'
5052

5153
# Split the diff into added/modified files (to translate) and deleted files (to clean up).
5254
- name: Get changed translatable files

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,9 @@
5252
"eslint": "^10.1.0",
5353
"eslint-plugin-astro": "^1.6.0",
5454
"globals": "^17.4.0",
55+
"puppeteer": "^24.0.0",
5556
"typescript": "^5.9.3",
5657
"typescript-eslint": "^8.57.2"
5758
},
58-
"optionalDependencies": {
59-
"puppeteer": "^24.0.0"
60-
},
6159
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
6260
}

0 commit comments

Comments
 (0)