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 1f096d6 commit a286fd5Copy full SHA for a286fd5
.github/workflows/pr-check.yml
@@ -0,0 +1,34 @@
1
+name: PR Check
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ main, master ]
6
+ types: [opened, synchronize, reopened]
7
8
+jobs:
9
+ build-check:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '18'
20
+ cache: 'yarn'
21
22
+ - name: Install dependencies
23
+ run: yarn install --frozen-lockfile
24
25
+ - name: Run build check
26
+ run: make build
27
28
+ - name: Check build artifacts
29
+ run: |
30
+ if [ ! -d ".next" ]; then
31
+ echo "Build failed: .next directory not found"
32
+ exit 1
33
+ fi
34
+ echo "Build completed successfully"
0 commit comments