chalk/.github/workflows/main.yml
Alexandr Kravchuk 0aa4a07a68 ci: fix GitHub Actions workflow for Node.js 16+ compatibility
- Remove Node.js 14 from test matrix (reached EOL 2023-04-30)
- Set codecov fail_ci_if_error to false to prevent rate limit failures
- Resolves CI infrastructure issues documented in CI_FIX_GUIDE.md

Node.js 14 is no longer supported as current dependencies (xo@0.57)
require Node.js 15+ for ES2021 features (logical assignment operators).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-17 12:25:12 +01:00

25 lines
547 B
YAML

name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 18
- 16
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v2
if: matrix.node-version == 16
with:
fail_ci_if_error: false