Skip to content

feat(localization): DLT-2452 setup i18n #3774

feat(localization): DLT-2452 setup i18n

feat(localization): DLT-2452 setup i18n #3774

Workflow file for this run

name: Lint PR Title
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
branches:
- staging
jobs:
commit-lint:
runs-on: ubuntu-latest
permissions:
packages: read
steps:
- name: Check out branch
uses: actions/checkout@v4
- name: Use pnpm
uses: pnpm/action-setup@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
registry-url: "https://npm.pkg.github.com"
scope: "dialpad"
env:
NODE_AUTH_TOKEN: ${{ github.token }}
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile
- name: Lint pull request title
run: |
echo "The PR's title should adhere to the commit message convention."
echo "correct format: <type>(<scope>): <jira> <subject>"
echo "example: feat: DLT-123 add dialbot icon"
pnpm commitlint --verbose << EOF
${{ github.event.pull_request.title }}
EOF