Skip to content

Commit

Permalink
-coveralls in this branch
Browse files Browse the repository at this point in the history
  • Loading branch information
vbuch committed Oct 4, 2023
1 parent d9c91a7 commit a053603
Showing 1 changed file with 3 additions and 44 deletions.
47 changes: 3 additions & 44 deletions .github/workflows/not-travis.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,15 @@
name: not-travis
on: ["push", "pull_request"]

name: monorepo

jobs:
prepare:
do-de-stuff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: yarn

lint:
runs-on: ubuntu-latest
needs: prepare
steps:
- run: ./node_modules/.bin/lerna run lint

test:
runs-on: ubuntu-latest
needs: prepare
steps:
- run: ./node_modules/.bin/lerna run test -- --coverage

coveralls:
runs-on: ubuntu-latest
needs: test
strategy:
matrix:
package:
- signpdf
- utils
- placeholder-pdfkit010
- placeholder-plain
steps:
- run: ./node_modules/.bin/lerna run test --coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
parallel: true
flag-name: $
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: packages/$

finish:
needs:
- lint
- test
- coveralls
if: $
runs-on: ubuntu-latest
steps:
- name: Close Coveralls
uses: coverallsapp/github-action@master
with:
parallel-finished: true
carryforward: "signpdf,utils,placeholder-pdfkit010,placeholder-plain"

0 comments on commit a053603

Please sign in to comment.