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 9d2e904 commit ff226cdCopy full SHA for ff226cd
.github/workflows/lint.yml
@@ -0,0 +1,29 @@
1
+name: Lint and Biome Check
2
+
3
+# Run the workflow when code is pushed or when a pull request is created
4
+on:
5
+ push:
6
+ branches:
7
+ - '**'
8
+ pull_request:
9
10
+ - main
11
12
+jobs:
13
+ lint-and-biome:
14
+ name: Lint Commit and Run Biome
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ # Checkout the repository so the workflow has access to the code
19
+ - name: Checkout code
20
+ uses: actions/checkout@v3
21
22
+ # Run the lint-commit.sh script
23
+ - name: Run lint-commit.sh
24
+ run: scripts/lint-commit.sh .git/COMMIT_EDITMSG
25
26
27
+ # Run the run-biome.sh script
28
+ - name: Run run-biome.sh
29
+ run: scripts/run-biome.sh
0 commit comments