Merge pull request #1778 from belgattitude/renovate/rollup-4.x #4556
This file contains 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-examples | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
branches: | |
- '**' | |
permissions: | |
contents: read | |
jobs: | |
test-examples: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ⚙️ Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: 📥 Monorepo install | |
uses: ./.github/actions/yarn-nm-install | |
- name: 🏗 Build packages | |
run: yarn workspaces foreach -v --worktree --from '@httpx/*' run build | |
- name: 🕵️ Typecheck | |
run: yarn workspaces foreach -v --worktree --from '@examples/*' run typecheck | |
- name: 🕵️ Typecheck (no typescript path aliases) | |
run: yarn workspaces foreach -v --worktree --from '@examples/*' run typecheck-no-paths | |
- name: 🔬 Lint | |
run: yarn workspaces foreach -v --worktree --from '@examples/*' run lint | |
- name: 🏗 Build example apps | |
run: yarn workspaces foreach -v --worktree --from '@examples/*' run build | |
env: | |
NEXTJS_IGNORE_ESLINT: true | |
NEXTJS_IGNORE_TYPECHECK: true | |
NEXT_DISABLE_SOURCEMAPS: true | |
NEXT_TELEMETRY_DISABLED: true |