Skip to content

Merge pull request #18 from zotapay/dependabot/npm_and_yarn/babel/tra… #37

Merge pull request #18 from zotapay/dependabot/npm_and_yarn/babel/tra…

Merge pull request #18 from zotapay/dependabot/npm_and_yarn/babel/tra… #37

Workflow file for this run

name: Node.js Inspection Pipeline
on:
push:
branches:
- master
- main
paths-ignore:
- '.github/**'
- 'README.md'
pull_request:
types: [ assigned, opened, synchronize, reopened ]
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 14, 16, 18 ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: Running ESLint...
run: npm run pretest
- name: Running tests...
run: npm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage