chore(deps): update dependency @commitlint/cli to v19.6.1 #651
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
node-version: [18, 20] # Maintenance, Active LTS & Current | |
fail-fast: false | |
services: | |
postgres: | |
image: postgres:latest | |
env: | |
POSTGRES_HOST_AUTH_METHOD: trust | |
ports: | |
- 5432:5432 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- name: Configure database | |
run: node pretest.js | |
- name: Run test | |
run: npm test --ignore-scripts | |
env: | |
PGUSER: postgres | |
code-lint: | |
name: Code Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 # LTS | |
- run: npm ci --ignore-scripts | |
- name: Verify code linting | |
run: npx --no eslint . | |
commit-lint: | |
name: Commit Lint | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 # LTS | |
- run: npm ci --ignore-scripts | |
- name: Verify commit linting | |
run: npx --no -p @commitlint/cli commitlint --from origin/master --to HEAD --verbose |