Skip to content

fix: setting up git config #208

fix: setting up git config

fix: setting up git config #208

name: Check code quality
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-code-quality:
runs-on: ubuntu-latest
permissions:
contents: read
timeout-minutes: 10
strategy:
matrix:
node-version:
- 20.x
- 22.x
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Run tests with ${{ matrix.node-version }}
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: npm install
run: npm ci --no-audit --no-fund
- name: validate renovate config
run: npx --package renovate -c 'renovate-config-validator'
- name: lint
run: npm run lint