Skip to content

feat: update version to 5.3.3 and add static methods for enumerable c… #41

feat: update version to 5.3.3 and add static methods for enumerable c…

feat: update version to 5.3.3 and add static methods for enumerable c… #41

Workflow file for this run

name: Collect.js CI
on:
push:
branches:
- main
- 'feature/*'
- 'hotfix/*'
pull_request:
branches: [main]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 20.x]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run Linter and Tests
run: |
pnpm run eslint:strict
pnpm run coverage
- name: Upload coverage reports to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: h3ravel/collect.js
files: ./coverage/lcov.info
fail_ci_if_error: true