chore(deps): bump codecov/codecov-action from 4 to 5 (#863) #1431
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: Continuous Integration | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Start Centrifugo | |
run: docker run -d -p 8000:8000 centrifugo/centrifugo:latest centrifugo --api_insecure | |
- name: Install Node v20 | |
uses: actions/setup-node@v4.1.0 | |
with: | |
node-version: 20 | |
cache: yarn | |
cache-dependency-path: yarn.lock | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run ESlint | |
run: yarn lint | |
- name: Run Tests | |
run: yarn run test --coverage | |
env: | |
CENTRIFUGO_HOST: "http://localhost:8000/api" | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v5 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |