Chore: update dependency @types/node to v20.17.0 (#1379) #4069
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
# Requires repo secret: CODECOV_TOKEN ("repository upload token") | |
name: Codecov | |
on: | |
pull_request: | |
types: | |
# - edited # PR's base branch was changed | |
- opened | |
- reopened | |
- synchronize # PR's branch was edited (i.e. new commits) | |
push: | |
branches: | |
- 'main' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
codecov-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: formsort/action-check-codecov-config@v1 | |
# !!! The codecov/project check should be required by GitHub !!! | |
# See ../../codecov.yml for the configuration that drives the check | |
codecov: | |
needs: | |
- codecov-lint | |
runs-on: ubuntu-latest | |
steps: | |
# Setup and install | |
- uses: actions/checkout@v4 | |
- uses: volta-cli/action@v4 | |
- run: npm ci | |
- run: | | |
sudo apt-get update | |
sudo apt-get install -y libsdl2-2.0-0 libsdl2-ttf-2.0-0 | |
# Run test coverage | |
- run: npm run test:coverage | |
- uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true | |
verbose: true |