* Remove dependency on streams polyfill * require node v16.7 * change test version * only test ubuntu * remove changelog
33 lines
649 B
YAML
33 lines
649 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
paths:
|
|
- "**.js"
|
|
- "package.json"
|
|
- ".github/workflows/ci.yml"
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
node: ["16", "18", "20"]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- run: npm install
|
|
- run: npm test
|
|
- run: npm run report -- --colors
|
|
- name: Upload coverage to Codecov
|
|
uses: codecov/codecov-action@v1
|
|
with:
|
|
file: ./coverage/coverage-final.json
|