chalk/.github/workflows/main.yml
Stephen Grider 0643d25ca3 claude.md
2025-06-20 16:29:13 -06:00

27 lines
583 B
YAML

name: CI
on:
- push
- pull_request
- workflow_dispatch
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 18
- 16
- 14
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: true