Skip to content

chore(deps): update commitlint monorepo to v21 #2164

chore(deps): update commitlint monorepo to v21

chore(deps): update commitlint monorepo to v21 #2164

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- name: Add ESLint Problem Matcher
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
- name: Use Node.js v20
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version: 22
cache: yarn
registry-url: https://registry.npmjs.org/
- name: Install Dependencies
run: yarn --immutable
- name: Run ESLint
run: yarn lint --fix=false
testing:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- name: Use Node.js v20
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version: 22
cache: yarn
registry-url: https://registry.npmjs.org/
- name: Install Dependencies
run: yarn --immutable
- name: Run tests
run: yarn test
- name: Store Code Coverage Report
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: coverage
path: coverage/
building:
name: Compile Source Code
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- name: Add TypeScript Problem Matcher
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
- name: Use Node.js v20
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version: 22
cache: yarn
registry-url: https://registry.npmjs.org/
- name: Install Dependencies
if: ${{ !steps.cache-restore.outputs.cache-hit }}
run: yarn --immutable
- name: Build Code
run: yarn build
upload-coverage-report:
name: Upload coverage report to codecov
needs: [testing]
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
with:
fetch-depth: 2
- name: Download Coverage report
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
with:
name: coverage
path: coverage/
- name: Codecov Upload
uses: codecov/codecov-action@0fb7174895f61a3b6b78fc075e0cd60383518dac # v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: coverage/
fail_ci_if_error: true