1 parent 6471251 commit 7c7c8e7Copy full SHA for 7c7c8e7
1 file changed
.github/workflows/checks.yml
@@ -0,0 +1,36 @@
1
+name: Checks
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
9
+permissions:
10
+ contents: read
11
12
+jobs:
13
+ lint-format:
14
+ name: Lint and format
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v6
20
21
+ - name: Setup Node
22
+ uses: actions/setup-node@v6
23
+ with:
24
+ node-version: 24
25
26
+ - name: Enable Corepack
27
+ run: corepack enable
28
29
+ - name: Install dependencies
30
+ run: yarn install --immutable
31
32
+ - name: Lint
33
+ run: yarn lint
34
35
+ - name: Check formatting
36
+ run: yarn format:check
0 commit comments