Skip to content

Commit

Permalink
ci: update CI and (re)enable coverage (DylanVann#826) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
friederbluemle committed Sep 23, 2021
1 parent 4aea52f commit d96b851
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 37 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: ci
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: yarn --frozen-lockfile
- run: yarn build
- run: yarn test --coverage
- if: github.event.repository.fork == false && github.event_name != 'pull_request'
run: yarn dv-scripts ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: codecov/codecov-action@v2
37 changes: 0 additions & 37 deletions .github/workflows/main.yml

This file was deleted.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
"extends": "dv-scripts"
},
"jest": {
"coveragePathIgnorePatterns": [
"ReactNativeFastImageExample*",
"ReactNativeFastImageExampleServer*"
],
"modulePathIgnorePatterns": [
"ReactNativeFastImageExample*",
"ReactNativeFastImageExampleServer*"
Expand Down

0 comments on commit d96b851

Please sign in to comment.