chore: align nextcloud/ocp and info.xml with Nextcloud 34 #21
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: Lint Check | |
| on: | |
| pull_request: | |
| branches: | |
| - development | |
| - main | |
| jobs: | |
| lint-check: | |
| runs-on: ubuntu-latest | |
| # Observed fleet-wide: n=176 runs, median 0.6 min, max 1.4 min | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Check for package.json | |
| id: has_pkg | |
| run: | | |
| if [ -f package.json ]; then | |
| echo "exists=true" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "exists=false" >> "$GITHUB_OUTPUT" | |
| echo "::notice::No package.json found at repo root; lint-check is a no-op for this repo." | |
| fi | |
| - name: Install dependencies | |
| if: steps.has_pkg.outputs.exists == 'true' | |
| run: npm i | |
| - name: Linting | |
| if: steps.has_pkg.outputs.exists == 'true' | |
| run: npm run lint |