Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

fix: catch errors when writing log file (#192) #249

fix: catch errors when writing log file (#192)

fix: catch errors when writing log file (#192) #249

Workflow file for this run

name: Node.js CI
on:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm install
- run: npm run build --if-present
- run: npm run-script test:coverage
env:
CI: true