File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - develop
6- workflow_run :
7- workflows : ["Translate docs"]
8- types : [completed]
9- branches : [develop]
106jobs :
11- check-internal-links :
12- name : Check internal links
13- runs-on : ubuntu-latest
14- if : github.event_name == 'push' || github.event.workflow_run.conclusion == 'success'
15- steps :
16- - uses : actions/checkout@v4
17- with :
18- fetch-depth : 0
19- - uses : actions/setup-node@v4
20- with :
21- node-version : 20
22- - run : npm install github-slugger
23- - run : node scripts/check-links/index.mjs --diff --base=last-development-deploy --internal-only
24-
257 build-en :
26- needs : check-internal-links
278 runs-on : ubuntu-latest
289 steps :
2910 - uses : actions/checkout@v4
4829 - run : npm ci
4930
5031 - name : Build English only
51- run : ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=none astro build
32+ run : ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=none npx astro build
5233
5334 - name : Generate markdown exports
5435 run : npm run build:md:prod
6041 retention-days : 1
6142
6243 build-locale :
63- needs : check-internal-links
6444 runs-on : ubuntu-latest
6545 strategy :
6646 matrix :
8868 - run : npm ci
8969
9070 - name : Build locale ${{ matrix.locale }}
91- run : ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} astro build
71+ run : ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} npx astro build
9272
9373 - uses : actions/upload-artifact@v4
9474 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