Merge pull request #1118 from openedx/renovate/reselect-5.x #3016
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: ci | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
npm-test: | |
- i18n_extract | |
- lint | |
- test | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- run: make requirements | |
- run: make test NPM_TESTS=build | |
- run: make test NPM_TESTS=${{ matrix.npm-test }} | |
- name: Coverage | |
if: ${{ matrix.npm-test == 'test' }} | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true |