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.
2 parents 9750a99 + 0155a66 commit 0ef5f0dCopy full SHA for 0ef5f0d
.github/workflows/code-check.yml
@@ -0,0 +1,29 @@
1
+name: Code check
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ lint-and-test:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '22'
20
+ cache: 'npm'
21
22
+ - name: Install dependencies
23
+ run: npm install
24
25
+ - name: Run linter
26
+ run: npm run lint
27
28
+ - name: Run tests
29
+ run: npm test
.gitignore
@@ -44,4 +44,5 @@ next-env.d.ts
44
.*
45
!.editorconfig
46
!.env.example
47
-!.prettierrc
+!.prettierrc
48
+!.github
0 commit comments