Skip to content

Commit

Permalink
Add Packwerk to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pezholio committed Jun 17, 2024
1 parent 4cb6e2f commit 54da306
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
security-events: write
actions: read

packwerk-check:
name: Packwerk check
uses: ./.github/workflows/packwerk.yml

lint-scss:
name: Lint SCSS
uses: ./.github/workflows/lintscss.yml
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/packwerk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Run Packwerk Check

on:
workflow_call:

jobs:
run-packwerk:
name: Run Packwerk Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

- name: Run Packwerk Check
run: bundle exec packwerk check

0 comments on commit 54da306

Please sign in to comment.