Skip to content

Commit

Permalink
ci: update all packages (#246)
Browse files Browse the repository at this point in the history
* ci: update all packages
* Create codecov.yaml
* Add test coverage for package cspell
* Add coverage for cspell-trie app
* Update package-lock.json
* ci: only run code coverage on pull-request
* ci: only build pushes if it is on master
  • Loading branch information
Jason3S committed Aug 12, 2020
1 parent 2c27515 commit b46ef51
Show file tree
Hide file tree
Showing 26 changed files with 1,619 additions and 1,163 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
name: Coverage
on:
on:
pull_request:
paths:
- "src/**/*.ts"
- "!**/*.test.helper.ts"
- "!**/node_modules/**"
- "!**/vendor/**"
- "**/package*.json"
- ".github/workflows/coverage.yml"
push:
paths:
- "src/**/*.ts"
- "!**/*.test.helper.ts"
- "!**/node_modules/**"
- "!**/vendor/**"
- "**/package*.json"
- ".github/workflows/coverage.yml"
branches:
- master

jobs:
coverage:
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
name: cSpell TS/MD
on:
pull_request:
paths:
- "**/*.ts"
- "**/*.md"
- ".github/workflows/cspell.yml"
push:
paths:
- "**/*.ts"
- "**/*.md"
- ".github/workflows/cspell.yml"
branches:
- master

jobs:
cspell:
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
name: TSLint
on:
pull_request:
paths:
- "**/*.ts"
- "**/package*.json"
- ".github/workflows/lint.yml"
push:
paths:
- "**/*.ts"
- "**/package*.json"
- ".github/workflows/lint.yml"

jobs:
tslint:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Test
on: [pull_request, push]
on:
pull_request:
push:
branches:
- master

jobs:
test:
Expand Down
7 changes: 7 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
coverage:
status:
project:
default:
target: auto
threshold: 1%
patch: off

0 comments on commit b46ef51

Please sign in to comment.