Make fleet size optional in consult form #15
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: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-and-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Use Node.js 22 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Type-check | |
| run: pnpm run check | |
| - name: Build | |
| run: pnpm run build | |
| - name: Check for AstroWind author attribution in dist/ | |
| run: | | |
| if grep -riq "arthelokyo\|onwidget" \ | |
| --include="*.html" --include="*.js" --include="*.css" dist/; then | |
| echo "ERROR: AstroWind author attribution detected in dist/" | |
| exit 1 | |
| fi | |
| echo "Grep gate passed" |