Skip to content

Commit 9468fc9

Browse files
committed
Fix workflows
1 parent 1df2f76 commit 9468fc9

2 files changed

Lines changed: 5 additions & 20 deletions

File tree

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

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,7 @@ on:
44
branches:
55
- develop
66
jobs:
7-
check-internal-links:
8-
name: Check internal links
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v4
12-
with:
13-
fetch-depth: 0
14-
- uses: actions/setup-node@v4
15-
with:
16-
node-version: 20
17-
- run: npm install github-slugger
18-
- run: node scripts/check-links/index.mjs --diff --base=last-development-deploy --internal-only
19-
207
build-en:
21-
needs: check-internal-links
228
runs-on: ubuntu-latest
239
steps:
2410
- uses: actions/checkout@v4
@@ -43,7 +29,7 @@ jobs:
4329
- run: npm ci
4430

4531
- name: Build English only
46-
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=none astro build
32+
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=none npx astro build
4733

4834
- name: Generate markdown exports
4935
run: npm run build:md:prod
@@ -55,7 +41,6 @@ jobs:
5541
retention-days: 1
5642

5743
build-locale:
58-
needs: check-internal-links
5944
runs-on: ubuntu-latest
6045
strategy:
6146
matrix:
@@ -83,7 +68,7 @@ jobs:
8368
- run: npm ci
8469

8570
- name: Build locale ${{ matrix.locale }}
86-
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} astro build
71+
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} npx astro build
8772

8873
- uses: actions/upload-artifact@v4
8974
with:

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- run: npm ci
8181

8282
- name: Build English only
83-
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=none astro build
83+
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=none npx astro build
8484

8585
- name: Generate markdown exports
8686
run: npm run build:md:prod
@@ -120,7 +120,7 @@ jobs:
120120
- run: npm ci
121121

122122
- name: Build locale ${{ matrix.locale }}
123-
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} astro build
123+
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} npx astro build
124124

125125
- uses: actions/upload-artifact@v4
126126
with:
@@ -204,7 +204,7 @@ jobs:
204204
- run: npm ci
205205

206206
- name: Build locale ${{ matrix.locale }}
207-
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} astro build
207+
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} npx astro build
208208

209209
- uses: actions/upload-artifact@v4
210210
with:

0 commit comments

Comments
 (0)