1 parent 88ba96f commit 60e737eCopy full SHA for 60e737e
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,27 @@
1
+name: Build and Test
2
+
3
+on:
4
+ push:
5
+ branches: ['**'] # Triggers on push to any branch
6
+ pull_request:
7
+ branches: ['main'] # Also run on PRs to main
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Setup Node.js
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: '20'
21
+ cache: 'yarn'
22
23
+ - name: Install dependencies
24
+ run: yarn install --frozen-lockfile
25
26
+ - name: Run build-all
27
+ run: yarn build-all
0 commit comments