File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 branches :
55 - develop
66jobs :
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
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
5541 retention-days : 1
5642
5743 build-locale :
58- needs : check-internal-links
5944 runs-on : ubuntu-latest
6045 strategy :
6146 matrix :
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 :
Original file line number Diff line number Diff line change 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 :
You can’t perform that action at this time.
0 commit comments