chore(deps): update codecov/codecov-action action to v4 - autoclosed #1163
Workflow file for this run
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
name: ci | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [14, 16, 18, 20] | |
# Docker containers to run for database RPC tracing integration tests. | |
services: | |
mongo: | |
image: mongo:5 | |
ports: | |
- 27017:27017 | |
mysql: | |
image: mysql:5 | |
env: | |
MYSQL_ROOT_PASSWORD: Password12! | |
MYSQL_DATABASE: test | |
ports: | |
- 3306:3306 | |
postgres: | |
image: postgres | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: Password12! | |
POSTGRES_DB: test | |
ports: | |
- 5432:5432 | |
redis: | |
image: redis | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: node --version | |
- run: npm install | |
- run: npm test | |
- name: coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
name: actions ${{ matrix.node }} | |
fail_ci_if_error: true | |
windows: | |
runs-on: windows-latest | |
env: | |
# GitHub Actions does not support running services alongside Windows. | |
# This flag disables integration tests. | |
TRACE_TEST_EXCLUDE_INTEGRATION: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
- run: npm install | |
- run: npm test | |
- name: coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
name: actions windows | |
fail_ci_if_error: true | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
- run: npm install | |
- run: npm run lint | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
- run: npm install | |
- run: npm run docs-test | |
license: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
- run: npm install | |
- run: npm run license-check |