Bump codecov/codecov-action from 2.1.0 to 4.1.0 #698
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
on: [push, pull_request] | |
jobs: | |
test-coverage: | |
name: Test on Node.js Latest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Use Node.js latest | |
uses: actions/[email protected] | |
with: | |
node-version: "15" | |
- name: Install dependencies | |
run: npm install | |
- name: Generate coverage report | |
run: npm run test-coverage | |
- name: Upload coverage report | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV }} | |
test-node-12: | |
name: Test on Node.js v12 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout codd | |
uses: actions/checkout@v2 | |
- name: Use Node.js v12 | |
uses: actions/[email protected] | |
with: | |
node-version: "12" | |