Skip to content

ci: bump @commitlint/config-conventional from 20.0.0 to 20.2.0 #182

ci: bump @commitlint/config-conventional from 20.0.0 to 20.2.0

ci: bump @commitlint/config-conventional from 20.0.0 to 20.2.0 #182

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: npm
- run: npm ci
- run: npm run lint
- name: Lint title
env:
TITLE: ${{ github.event.pull_request.title }}
run: npx --no-install commitlint <<< "$TITLE"
test:
name: Test
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: npm
- run: npm install
- run: npm test
env:
CI: true
parallel: true
coverage:
name: Coverage
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: npm
- run: npm ci
- run: npm test
env:
CI: true
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}