feat: propagate unbound state to all descendant custom elements #5728
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: Validate PRs On All Platforms/Browsers | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: 0 7 * * 3 | |
| jobs: | |
| cross-platform_cross-browser: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| env: | |
| PLAYWRIGHT_BROWSERS_PATH: 0 | |
| steps: | |
| - name: Set git to use LF | |
| if: ${{ matrix.os == 'windows-latest' }} | |
| run: | | |
| git config --global core.autocrlf false | |
| git config --global core.eol lf | |
| - name: Checkout Branch | |
| uses: actions/checkout@v2 | |
| - if: ${{ github.event_name == 'pull_request' }} | |
| run: | | |
| git fetch --no-tags --prune --depth=1 origin +refs/heads/main:refs/remotes/origin/main | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - name: Cache multiple paths | |
| uses: actions/cache@v4 | |
| env: | |
| cache-name: cache-node-modules | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-build-${{ env.cache-name }}- | |
| ${{ runner.os }}-build- | |
| ${{ runner.os }}- | |
| - name: Install package dependencies | |
| run: npm ci | |
| - name: Biome CI check | |
| run: npm run biome:ci | |
| - name: Install wasm-pack | |
| run: cargo install wasm-pack | |
| - name: Build workspaces | |
| run: npm run build | |
| - name: Install playwright dependencies and browsers | |
| run: | | |
| npx playwright install --with-deps | |
| - name: Run tests in all Packages | |
| run: npm run test |