Skip to content

Bump got and np

Bump got and np #63

Workflow file for this run

name: build
on:
push:
branches:
- master
tags:
- '!*' # Do not execute on tags
paths:
- src/*
- test/*
- '*.json'
- package.lock
- .github/workflows/*
pull_request:
jobs:
build:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 14
- 16
- 18
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
coverage:
needs: [ build ]
name: coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: '16'
- run: npm install
- run: npm run test
- uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
if: env.CC_TEST_REPORTER_ID != null
with:
coverageCommand: npm run test
debug: true