Skip to content

feat!: switch to winston logger (#41) #329

feat!: switch to winston logger (#41)

feat!: switch to winston logger (#41) #329

Workflow file for this run

name: CI
on:
push:
branches: [ main, typescript ]
pull_request:
branches: [ main, typescript ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
if: matrix.node-version == '20.x'
# only run on latest node version, no reason to run on all
run: |
npm run lint
- name: Test NodeJS
env:
CI: true
run: npm run test:coverage
timeout-minutes: 1
- name: Coveralls
uses: coverallsapp/[email protected]
if: matrix['node-version'] == '20.x'
with:
github-token: ${{ secrets.github_token }}