Skip to content

Commit

Permalink
Merge pull request #1 from juanigalan91/feat/ci-check
Browse files Browse the repository at this point in the history
ci check
  • Loading branch information
juanigalan91 authored Nov 7, 2020
2 parents 1458c15 + b7731fe commit 9a60c4b
Show file tree
Hide file tree
Showing 6 changed files with 28,469 additions and 2,821 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Monorepo Analysis

on: [push]

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
check-dependencies:
runs-on: ubuntu-latest
Expand All @@ -11,4 +13,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Check dependencies
uses: ./packages/ga-check-dependencies # Uses an action in the root directory
uses: ./packages/ga-check-dependencies # Uses an action in the root directory
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions packages/ga-check-dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Graph generator'
description: 'Generates the dependency graph for the monorepo'
name: 'Check dependencies integrity'
description: 'Checks that all the packages used in the repo have the same version'
runs:
using: 'node12'
main: 'dist/index.js'
Loading

0 comments on commit 9a60c4b

Please sign in to comment.