Merge pull request #7440 from dhowe/dev-2.0 #5301
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: Testing | |
on: | |
push: | |
branches: | |
- main | |
- dev-2.0 | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20.x | |
- name: Get node modules | |
run: npm ci | |
env: | |
CI: true | |
- name: build and test | |
run: npm test | |
env: | |
CI: true | |
- name: report test coverage | |
run: bash <(curl -s https://codecov.io/bash) -f coverage/coverage-final.json | |
env: | |
CI: true |