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 9c3ab04 commit f31c6d4Copy full SHA for f31c6d4
.github/workflows/ci.yml
@@ -0,0 +1,32 @@
1
+name: CI
2
+on: pull_request
3
+
4
+concurrency:
5
+ group: ${{ github.workflow }}-${{ github.ref }}
6
+ cancel-in-progress: true
7
8
+jobs:
9
+ ci:
10
+ name: Test
11
+ runs-on: ubuntu-latest
12
+ timeout-minutes: 15
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
+ with:
17
+ fetch-depth: 2
18
19
+ - name: Set up Node.js
20
+ uses: actions/setup-node@v4
21
22
+ node-version: '22'
23
24
+ - name: Check for broken links
25
+ run: |
26
+ set -e
27
+ output=$(npx mint broken-links)
28
+ echo "$output"
29
+ if ! echo "$output" | grep -q '^success '; then
30
+ echo "Error: Broken links found! Fix the broken links listed above before merging."
31
+ exit 1
32
+ fi
0 commit comments