Skip to content

chore: Update dependencies #21

chore: Update dependencies

chore: Update dependencies #21

Workflow file for this run

name: Commit check (lint, tests)
on:
workflow_dispatch:
push:
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- run: npm ci
- run: npm run lint
- name: run npm test
env:
COVERALLS_SERVICE_NAME: 'GitHub CI'
COVERALLS_GIT_BRANCH: master
COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.node-version }}
NODE_COVERALLS_DEBUG: 0
run: npm run coveralls