mirror of
https://github.com/material-components/material-web.git
synced 2026-03-09 00:09:23 +08:00
20 lines
373 B
YAML
20 lines
373 B
YAML
name: commitlint
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
commitlint:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
cache: npm
|
|
|
|
- run: npm ci
|
|
- run: 'echo "${PR_TITLE}" | npx commitlint'
|
|
env:
|
|
PR_TITLE: ${{ github.event.pull_request.title }}
|