Skip to content

Commit

Permalink
chore: add pr title check and package json validation (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
danadajian authored Dec 10, 2021
1 parent 4629594 commit 19e00a2
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 7,394 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ on:
pull_request:
branches: [ main ]
types: [ edited, opened, reopened, synchronize ]
paths:
- 'src/helpers/check-pr-title.ts'

jobs:
test:
name: PR Title Check
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Validate package.json
uses: ExpediaGroup/package-json-validator@v1
with:
rules: ranges

- name: Setup Node
uses: actions/setup-node@v1
with:
Expand Down
Loading

0 comments on commit 19e00a2

Please sign in to comment.