Skip to content

chore(deps): update non-major dependencies to ^8.51.0 #402

chore(deps): update non-major dependencies to ^8.51.0

chore(deps): update non-major dependencies to ^8.51.0 #402

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
test:
name: Test & Coverage
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run linting
run: npm run lint
- name: Run type checking
run: npx tsc --noEmit
- name: Run tests with coverage and JUnit output
run: npm run test:coverage -- --reporter=default --reporter=junit --outputFile=test-results.junit.xml
- name: Upload coverage reports to Codecov
if: matrix.node-version == '22.x'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
flags: unittests
name: codecov-umbrella
- name: Upload test results to Codecov
if: ${{ !cancelled() && matrix.node-version == '22.x' }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./test-results.junit.xml
flags: unittests
build:
name: Build
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Check build artifacts
run: |
ls -la dist/
test -f dist/index.js
test -f dist/index.d.ts