-
Notifications
You must be signed in to change notification settings - Fork 880
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'lit-html': patch | ||
'lit': patch | ||
--- | ||
|
||
asyncReplace correctly re-renders when value is unchanged (#4408) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@lit-labs/virtualizer': patch | ||
--- | ||
|
||
Now correctly include `/support/method-interception.js` and `/support/resize-observer-errors.js` artifacts to the published package. Previously these were listed in the package exports but not actually included with the npm published package. |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@lit-labs/ssr': patch | ||
--- | ||
|
||
Fix server template throwing when encountering an attribute binding on the | ||
`html` tag. This is now handled correctly. |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@lit-labs/gen-wrapper-angular': patch | ||
'@lit-labs/gen-wrapper-vue': patch | ||
--- | ||
|
||
Generate valid wrappers for elements without reactive properties |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Changeset Status | ||
|
||
on: [pull_request] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
# Enforce that all PRs that change packages need changesets. Changes | ||
# without changesets result in this job failing. | ||
changeset: | ||
runs-on: ubuntu-latest | ||
# Skip if author is lit-robot which means it's a release PR that doesn't | ||
# need this check. | ||
if: ${{ github.event.pull_request.user.login != 'lit-robot' }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
cache: 'npm' | ||
cache-dependency-path: package-lock.json | ||
|
||
- name: Checkout and NPM install | ||
run: | | ||
git checkout main | ||
git checkout ${{ github.sha }} | ||
npm ci | ||
- name: Changeset status | ||
run: npm run changeset status -- --since=main |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Report Sizecheck Results | ||
|
||
on: | ||
workflow_run: | ||
workflows: [Sizecheck] | ||
branches: ['**'] | ||
types: [completed] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
report: | ||
permissions: | ||
actions: read # for dawidd6/action-download-artifact to query and download artifacts | ||
pull-requests: write # for thollander/actions-comment-pull-request to write comment | ||
name: Report sizecheck result | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Download the artifact from the triggering workflow that contains the | ||
# size check results and PR number to report to | ||
- name: Download artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
workflow: ${{ github.event.workflow.id }} | ||
run_id: ${{ github.event.workflow_run.id }} | ||
name: sizecheck | ||
path: artifacts | ||
|
||
# `workflow_run` triggered workflow don't always have access to PR number | ||
# from event so it is pass via an artifact from the triggering workflow | ||
- name: Get pull request number from artifact | ||
id: pr_num | ||
run: echo "PR_NUMBER=$(cat artifacts/pr_number.txt)" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
- name: Comment on size report empty | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
uses: thollander/actions-comment-pull-request@v2 | ||
with: | ||
message: 'The size of lit-html.js and lit-core.min.js are as expected.' | ||
comment_tag: check-size # ensures we overwrite old failure comment if present | ||
pr_number: ${{ steps.pr_num.outputs.PR_NUMBER }} | ||
|
||
- name: Comment about failing size report | ||
if: ${{ github.event.workflow_run.conclusion == 'failure' }} | ||
uses: thollander/actions-comment-pull-request@v2 | ||
with: | ||
filePath: artifacts/check-size-out.md | ||
comment_tag: check-size # ensures we create or update one size comment | ||
pr_number: ${{ steps.pr_num.outputs.PR_NUMBER }} |