Skip to content

Feat: MessageBus manager #2783

Feat: MessageBus manager

Feat: MessageBus manager #2783

Workflow file for this run

name: Coveralls
# Controls when the action will run.
on: ["push", "pull_request"]
jobs:
coverage:
name: Build
runs-on: ubuntu-latest
env:
AVAX_API: https://api.avax.network/ext/bc/C/rpc
ALCHEMY_API: ${{ secrets.ALCHEMY_API }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Datadog Agent
uses: DataDog/agent-github-action@v1
with:
api_key: ${{ secrets.DD_API_KEY }}
- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm
- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v2
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Installing dependencies
run: npm ci
- name: build
run: npm run build
- name: run test:coverage
run: npm run test:coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}