Repository navigation
Improve cache management (issue #8) (#33) #21
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Verify no npm dependencies | |
| run: | | |
| if [ -f package.json ] || [ -f package-lock.json ] || [ -f node_modules ]; then | |
| echo "ERROR: npm dependencies not allowed in this project" | |
| echo "This toolkit audits npm packages - it cannot depend on them." | |
| exit 1 | |
| fi | |
| - name: Check shell script syntax | |
| run: | | |
| for script in *.sh scripts/*.sh; do | |
| if [ -f "$script" ]; then | |
| echo "Checking $script..." | |
| bash -n "$script" | |
| fi | |
| done |