We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97f1b5c commit aa58b41Copy full SHA for aa58b41
.github/workflows/build.yml
@@ -6,7 +6,7 @@ on:
6
7
jobs:
8
build:
9
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
10
11
steps:
12
- name: Checkout repository
@@ -24,5 +24,12 @@ jobs:
24
- name: Run type check
25
run: npm run typecheck
26
27
- - name: Build documentation
28
- run: npm run build
+ - name: Build documentation and check for warnings
+ run: |
29
+ npm run build 2>&1 | tee build.log
30
+ if grep -i "warning" build.log; then
31
+ echo " Build completed with warnings. Failing the build."
32
+ exit 1
33
+ else
34
+ echo " Build completed without warnings."
35
+ fi
0 commit comments