Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Commitlint
on: [push, pull_request]
on: [ push, pull_request ]

jobs:
commitlint:
Expand Down Expand Up @@ -27,6 +27,8 @@ jobs:
- run: npm ci --ignore-scripts
- uses: ./
id: run_commitlint
with:
failOnErrors: 'false'
env:
NODE_PATH: ${{ github.workspace }}/node_modules
- name: Show results from JSON output
Expand Down Expand Up @@ -54,5 +56,7 @@ jobs:
${{ runner.os }}-node-
- run: npm ci --ignore-scripts
- uses: ./
with:
failOnErrors: 'false'
env:
NODE_PATH: ${{ github.workspace }}/node_modules
2 changes: 1 addition & 1 deletion jest.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default {
// Automatically clear mock calls and instances between every test
clearMocks: true,
testEnvironment: '@commitlint/test-environment',
testEnvironment: 'node',
testMatch: [
'**/__tests__/**/*.?(m)[jt]s?(x)',
'**/?(*.)+(spec|test).?(m)[tj]s?(x)',
Expand Down
Loading
Loading