Skip to content

ESL Avatar

ESL Avatar #3024

Workflow file for this run

name: Commits
on:
pull_request:
env:
node-version: 18.x
jobs:
validate-commit:
name: Lint Messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node v${{ env.node-version }}
uses: actions/setup-node@v3
with:
cache: 'npm'
node-version: ${{ env.node-version }}
- name: Install NPM Dependencies
run: npm ci
- name: Run Commit Lint
uses: wagoid/commitlint-github-action@v5
with:
helpURL: 'https://github.com/exadel-inc/esl/blob/main/docs/COMMIT_CONVENTION.md'
env:
NODE_PATH: ${{ github.workspace }}/node_modules