Bump next from 16.1.6 to 16.1.7 in /apps/docs #64
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: test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Ensure no uncommitted changes | |
| run: | | |
| CHANGED=$(git status --porcelain) | |
| if [ -n "$CHANGED" ]; then | |
| echo "Uncommitted changes found after build:" | |
| echo "$CHANGED" | |
| exit 1 | |
| fi | |
| - name: Typecheck | |
| run: npx tsc --noEmit | |
| - name: Type tests | |
| run: npx tsd | |
| - name: Lint | |
| run: npm run lint | |
| - name: Package lint | |
| run: npm run lint:package |