chore(deps): update dependency chai to v4.5.0 #737
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
name: Testing NANVC library through nodejs v${{ matrix.node-version }}.x on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: | |
- 16 | |
- 14 | |
os: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Build the containers stack | |
run: docker-compose up -d | |
- name: Adding host aliases | |
run: echo "127.0.0.1 vault.local" | sudo tee -a /etc/hosts | |
- name: Install nodejs dependencies | |
run: npm install | |
- name: Linting | |
run: npm run lint | |
- name: Run testing suite | |
run: npm run coverage | |
- name: Code coverage | |
uses: codecov/codecov-action@v1 | |
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 16 | |
with: | |
fail_ci_if_error: true |