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 7f2ae8d commit 4ab373eCopy full SHA for 4ab373e
.github/workflows/linting.yml
@@ -0,0 +1,36 @@
1
+# Documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
2
+
3
+name: Linting
4
5
+on:
6
+ pull_request:
7
+ branches: [main]
8
+ push:
9
10
11
+jobs:
12
+ lint:
13
+ name: Lint Code Base
14
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - name: Checkout the code base
19
+ uses: actions/checkout@v3
20
21
+ - name: Setup Node.js
22
+ uses: actions/setup-node@v3
23
+ with:
24
+ node-version: '22'
25
26
+ - name: Install dependencies
27
+ run: npm install
28
29
+ - name: Run TypeScript linting
30
+ run: npm run lint:ts
31
32
+ - name: Run Markdown linting
33
+ run: npm run lint:md
34
35
+ - name: Check code formatting with Prettier
36
+ run: npm run format:check
0 commit comments