Skip to content

Renamed connections to total_connections to avoid confusion #38

Renamed connections to total_connections to avoid confusion

Renamed connections to total_connections to avoid confusion #38

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
tags:
- '*'
paths-ignore:
- "**.md"
- "benchmark/**"
- ".github/workflows/benchmark.yml"
- ".github/workflows/docker-*.yml"
- ".github/*.yml"
pull_request:
branches:
- '*'
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node:
- 16.x
- 18.x
- 20.x
name: Node.js ${{ matrix.node }}
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
name: Setup Node.js v${{ matrix.node }}
with:
node-version: ${{ matrix.node }}
- uses: actions/[email protected]
name: Cache Node.js dependencies
with:
path: ~/.npm
key: ${{ runner.os }}-${{ matrix.node }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node }}-node-
- name: Install dependencies
run: npm ci
- name: Execute lint & build
run: |
npm run lint
npm run build
- name: Execute tests
run: npm run test
- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false