Bump the npm_and_yarn group across 4 directories with 4 updates #327
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: CI | |
| on: [push] | |
| permissions: | |
| contents: read | |
| jobs: | |
| workspace-ci: | |
| name: Workspace CI | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x, 22.x, 24.x, latest] | |
| steps: | |
| - uses: actions/checkout@v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - uses: ./.github/reusable-workflows/setup-repo | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Check for a changelog entry | |
| if: ${{ github.ref != 'refs/heads/prepare-release' && github.actor != 'dependabot[bot]' }} | |
| run: | | |
| pnpm run changelog:status:ci | |
| - name: Run CI checks | |
| run: | | |
| pnpm run all:ci | |
| - name: Report test coverage to coveralls.io | |
| uses: coverallsapp/github-action@v2.3.6 | |
| with: | |
| github-token: ${{ github.token }} | |
| fail-on-error: false | |
| package-ci: | |
| name: Package CI | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| package-name: [basic-library-template, react-library-template ] | |
| steps: | |
| - uses: actions/checkout@v6.0.1 | |
| - uses: ./.github/reusable-workflows/setup-repo | |
| with: | |
| node-version: nvmrc | |
| - name: Run CI checks for package | |
| run: | | |
| cd packages/${{ matrix.package-name }} | |
| pnpm run all:ci | |
| demo-ci: | |
| name: Demo CI | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| demo-name: [hello-world-cli, hello-world-ui] | |
| steps: | |
| - uses: actions/checkout@v6.0.1 | |
| - uses: ./.github/reusable-workflows/setup-repo | |
| with: | |
| node-version: lts/* | |
| use-lockfile: false | |
| - name: Run CI checks for demo | |
| run: | | |
| cd demos/${{ matrix.demo-name }} | |
| pnpm run all:ci | |
| external-test-ci: | |
| name: External-Test CI | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| external-test-name: | |
| [ | |
| bun-vite5, | |
| cra4-react16, | |
| cra5-react18, | |
| nextjs13-playwright, | |
| remix-playwright, | |
| vite4-react18-swc, | |
| node20-cjs, | |
| node20-esm, | |
| node22-cjs, | |
| node22-esm, | |
| node24-cjs, | |
| node24-esm, | |
| ] | |
| steps: | |
| - uses: actions/checkout@v6.0.1 | |
| - uses: ./.github/reusable-workflows/setup-repo | |
| with: | |
| node-version: nvmrc | |
| use-lockfile: false | |
| - name: Yalc publish | |
| run: | | |
| ./scripts/update-external-test.sh ${{ matrix.external-test-name }} | |
| - name: Run CI checks for external-test | |
| run: | | |
| ./scripts/run-external-test.sh ${{ matrix.external-test-name }} run-ci |