Merge pull request #8633 from processing/ksen0-patch-2 #7870
This file contains hidden or 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 | |
| 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 |