Add Dependabot grouping for semver-minor and semver-patch updates #3
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 Dependencies & Build | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| - cron: '0 8 * * 1' # Weekly Monday 8am UTC | |
| jobs: | |
| yarn: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 'lts/*' | |
| cache: 'yarn' | |
| # Verify lockfile is up-to-date | |
| - name: Check yarn.lock consistency | |
| run: | | |
| echo "Running immutable install to verify yarn.lock..." | |
| if ! yarn install --immutable; then | |
| echo "::error::yarn.lock is out of sync with package.json. Run 'yarn install' locally and commit the updated yarn.lock" | |
| exit 1 | |
| fi | |
| # Run typecheck before build to catch type errors early | |
| - name: Type check | |
| run: yarn typecheck | |
| # build the docusaurus site | |
| - name: Build site | |
| run: yarn build |