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 e9c74c5 commit 6fae555Copy full SHA for 6fae555
.github/workflows/cicd.yml
@@ -0,0 +1,34 @@
1
+name: Continuous Integration
2
+
3
+on:
4
+ #triggers on every push and pull
5
+ push:
6
+ pull_request:
7
8
+jobs:
9
+ build:
10
+ name: Build project
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ with:
15
+ fetch-depth: 0
16
17
+ - name: Set up Node.js
18
+ uses: actions/setup-node@v2
19
20
+ node-version: "20.11.1"
21
22
+ - name: Install dependencies
23
+ run: npm install
24
25
+ - name: Run lint with eslint
26
+ run: npm run lint
27
28
+ - name: Run format check
29
+ run: npm run format
30
31
+ - name: Check commit messages
32
+ uses: wagoid/commitlint-github-action@v3
33
34
+ configFile: commitlint.config.cjs
0 commit comments