Skip to content

fix: deny modifying the object prototype (#1698) #1885

fix: deny modifying the object prototype (#1698)

fix: deny modifying the object prototype (#1698) #1885

Workflow file for this run

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: 'Node.js CI'
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: 'ubuntu-latest'
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
steps:
- uses: 'actions/[email protected]'
- name: Use Node.js ${{ matrix.node-version }}
uses: 'actions/[email protected]'
with:
node-version: ${{ matrix.node-version }}
- run: 'npm ci'
- name: Lint
if: ${{ matrix.node-version != '10.x' }}
run: 'npm run lint'
- name: Markdownlint
if: ${{ matrix.node-version != '10.x' }}
run: 'npm run markdownlint'
- run: 'npm run build'
- run: 'DISABLE_LOGGING=1 npm run cover'
- run: 'npx nyc report --reporter=lcov > coverage.lcov && npx codecov'