Merge pull request #35235 from storybookjs/kasper/ai-agent-instance-s… #315
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: Fork checks | |
| # This workflow is only for forks, so they can get basic checks in without a CircleCI API key | |
| on: | |
| push: | |
| env: | |
| NODE_OPTIONS: '--max_old_space_size=4096' | |
| permissions: {} | |
| jobs: | |
| check: | |
| name: Core Type Checking | |
| if: github.repository_owner != 'storybookjs' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 2 | |
| persist-credentials: false | |
| - name: Setup Node.js and Install Dependencies | |
| uses: ./.github/actions/setup-node-and-install | |
| with: | |
| install-code-deps: true | |
| - name: check | |
| run: yarn task --task check | |
| formatting: | |
| name: Core Formatting | |
| if: github.repository_owner != 'storybookjs' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 2 | |
| persist-credentials: false | |
| - name: Setup Node.js and Install Dependencies | |
| uses: ./.github/actions/setup-node-and-install | |
| with: | |
| install-code-deps: true | |
| - name: oxfmt | |
| run: cd code && yarn fmt:check | |
| test: | |
| strategy: | |
| matrix: | |
| os: [windows-latest, ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| name: Core Unit Tests, ${{ matrix.os }} | |
| if: github.repository_owner != 'storybookjs' | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 2 | |
| persist-credentials: false | |
| - name: Setup Node.js and Install Dependencies | |
| uses: ./.github/actions/setup-node-and-install | |
| with: | |
| install-code-deps: true | |
| - name: compile | |
| run: yarn task --task compile --start-from=compile | |
| - name: Install Playwright Dependencies | |
| run: cd code && yarn exec playwright install chromium --with-deps | |
| - name: test | |
| run: yarn test |