chore(deps-dev): bump the dev-tools group across 1 directory with 4 updates #14
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check README | |
| on: | |
| pull_request: | |
| paths: | |
| - 'packages/constructs/**' | |
| - 'README.md' | |
| jobs: | |
| check-readme: | |
| name: 📖 Check readme for updates | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| - name: Compare package list against readme | |
| run: | | |
| PACKAGES="$(ls -1 packages/constructs | wc -l)" | |
| README_PACKAGES="$(grep -Ff <(ls packages/constructs) README.md | wc -l)" | |
| if [ "$PACKAGES" -eq "$README_PACKAGES" ]; then | |
| echo "README correctly lists all packages." | |
| exit 0 | |
| else | |
| echo "Mismatch: Found $PACKAGES packages, but README lists $README_PACKAGES." | |
| exit 1 | |
| fi |