Skip to content

monorepo GitHub Actions setup #1

monorepo GitHub Actions setup

monorepo GitHub Actions setup #1

Workflow file for this run

on:
push:
branches:
- feature/split
name: monorepo
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
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:
- 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: $

Check failure on line 52 in .github/workflows/monorepo.yml

View workflow run for this annotation

GitHub Actions / monorepo

Invalid workflow file

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