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 408d054 + 287a5cb commit 3bbbb4eCopy full SHA for 3bbbb4e
.github/workflows/build-and-test.yml
@@ -0,0 +1,25 @@
1
+name: Build and Test commitollama
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
8
9
+jobs:
10
+ build-and-test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: '20'
19
+ cache: 'npm'
20
+ - name: Install dependencies
21
+ run: npm ci
22
+ - name: Build
23
+ run: npm run build
24
+ - name: Run tests
25
+ run: xvfb-run -a npm test
0 commit comments