Skip to content

try github actions to coveralls #101

try github actions to coveralls

try github actions to coveralls #101

Workflow file for this run

name: not-travis
on: ["push", "pull_request"]
jobs:
prepare:
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
strategy:
matrix:
package:
- signpdf
- utils
- placeholder-pdfkit010
- placeholder-plain
steps:
- run: ./node_modules/.bin/lerna run test -- --coverage
- name: Coveralls (signpdf)
uses: coverallsapp/github-action@master
with:
flag-name: signpdf
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: packages/signpdf
parallel: true
- name: Coveralls (utils)
uses: coverallsapp/github-action@master
with:
flag-name: utils
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: packages/utils
parallel: true
- name: Coveralls (placeholder-pdfkit010)
uses: coverallsapp/github-action@master
with:
flag-name: placeholder-pdfkit010
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: packages/placeholder-pdfkit010
parallel: true
- name: Coveralls (placeholder-plain)
uses: coverallsapp/github-action@master
with:
flag-name: placeholder-plain
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: packages/placeholder-plain
parallel: true
finish:
needs: test
if: $

Check failure on line 60 in .github/workflows/not-travis.yml

View workflow run for this annotation

GitHub Actions / not-travis

Invalid workflow file

The workflow is not valid. .github/workflows/not-travis.yml (Line: 60, Col: 9): Unexpected symbol: '$'. Located at position 1 within expression: $
runs-on: ubuntu-latest
steps:
- name: Close parallel Coveralls
uses: coverallsapp/github-action@master
with:
parallel-finished: true
carryforward: "signpdf,utils,placeholder-pdfkit010,placeholder-plain"