Update dependencies #25
Workflow file for this run
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: Tests and Code Coverage | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
# TODO Run our Node Security Scanner | |
# security-scan: | |
# runs-on: ubuntu-latest | |
# steps: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
nodeVersion: [ 14, 16, 18 ] | |
name: Run Tests - Node ${{ matrix.nodeVersion }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.nodeVersion }} | |
cache: 'npm' | |
- name: Run tests and collect coverage | |
run: ./scripts/cibuild.sh | |
- name: Upload coverage reports to Codecov | |
# https://github.com/marketplace/actions/codecov | |
uses: codecov/codecov-action@v3 |