Skip to content

Merge pull request #16 from morganstanley/dependabot/npm_and_yarn/esl… #84

Merge pull request #16 from morganstanley/dependabot/npm_and_yarn/esl…

Merge pull request #16 from morganstanley/dependabot/npm_and_yarn/esl… #84

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
env:
NODE_VERSION: '20'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm i
- run: npm run test
- name: Codecov
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
directory: ./build/coverage
flags: unittests
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}