fix: Add check for builtin custom elements in set_custom_element_data
#7097
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: Publish Any Commit | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| permissions: {} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build | |
| run: pnpm build | |
| - run: pnpx pkg-pr-new publish --comment=off --json output.json --compact --no-template './packages/svelte' | |
| - name: Add metadata to output | |
| uses: actions/github-script@v6 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| script: | | |
| const fs = require('fs'); | |
| const output = JSON.parse(fs.readFileSync('output.json', 'utf8')); | |
| output.number = context.issue.number; | |
| output.event_name = context.eventName; | |
| output.ref = context.ref; | |
| fs.writeFileSync('output.json', JSON.stringify(output), 'utf8'); | |
| - name: Upload output | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: output | |
| path: ./output.json | |
| - run: ls -R . |