Skip to content

Commit

Permalink
chore: added codecov workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KL13NT committed Feb 12, 2021
1 parent 7d532d6 commit dd96367
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,34 @@ on:
tags:
- "*"

jobs:
jobs:
codecov:
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v1

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 14

- name: install dependencies
run: npm install

- name: ci lint && test
run: npm run lint && npm run test --ci

- name: send coverage reports to codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true
directory: ./docs/coverage


release_linux:
runs-on: ubuntu-latest

Expand All @@ -23,7 +50,7 @@ jobs:

- name: install rpm packages
run: sudo apt-get install rpm

- name: Build/release Electron app
uses: kl13nt/action-electron-forge@master
with:
Expand Down

0 comments on commit dd96367

Please sign in to comment.