We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b91124 commit e6d37d2Copy full SHA for e6d37d2
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,40 @@
1
+name: Build
2
+
3
+on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
8
9
+ # Allows you to run this workflow manually from the Actions tab
10
+ workflow_dispatch:
11
12
+jobs:
13
+ build:
14
+ name: Build
15
+ runs-on: ubuntu-latest
16
+ timeout-minutes: 10
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v4
20
21
+ - name: Set up Node.js
22
+ uses: actions/setup-node@v4
23
+ with:
24
+ node-version: 24
25
+ cache: npm
26
27
+ - name: Install dependencies
28
+ run: npm ci
29
30
+ - name: Check formatting
31
+ run: npm run format:check
32
33
+ - name: Type check
34
+ run: npm run typecheck
35
36
+ - name: Run tests
37
+ run: npm test
38
39
+ - name: Build
40
+ run: npm run build
0 commit comments