-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
PlayCanvas + Standalone Viewer
1 parent
9c96286
commit 03bc90a
Showing
407 changed files
with
34,390 additions
and
7,912 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,4 +47,5 @@ runs: | |
path: | | ||
packages/**/build/* | ||
e2e-tests/build/* | ||
github-pages-publisher/build/* | ||
if-no-files-found: error |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: delete preview on PR close | ||
|
||
# only trigger on pull request closed events | ||
on: | ||
pull_request: | ||
types: [closed] | ||
|
||
permissions: | ||
id-token: write | ||
contents: write | ||
pull-requests: write | ||
checks: write | ||
|
||
jobs: | ||
delete_preview: | ||
runs-on: ubuntu-20.04 | ||
env: | ||
PR_PATH: pull/${{github.event.number}} | ||
steps: | ||
- name: make empty dir | ||
run: mkdir empty-dir | ||
|
||
- name: delete folder | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./empty-dir | ||
destination_dir: ${{ env.PR_PATH }} | ||
|
||
- name: Comment on PR | ||
uses: hasura/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
repository: ${{ github.repository }} | ||
number: ${{ github.event.number }} | ||
id: deploy-preview | ||
message: "🪓 PR closed, deleted preview at https://github.com/${{ github.repository }}/tree/gh-pages/${{ env.PR_PATH }}/" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,6 +110,42 @@ jobs: | |
name: images | ||
path: e2e-tests/test/__image_snapshots__/ | ||
|
||
publish-gh-pages: | ||
name: Publish GitHub Pages | ||
needs: [ build ] | ||
runs-on: ubuntu-latest | ||
env: | ||
PR_PATH: pull/${{github.event.number}} | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
lfs: true | ||
persist-credentials: false | ||
|
||
- name: "Retrieve Dependencies and Build Artifacts" | ||
id: retrieve-deps-and-build | ||
uses: ./.github/actions/retrieve-deps-and-build | ||
|
||
- name: Set base URL for preview if PR | ||
run: echo "BASE_URL=https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/${{ env.PR_PATH }}/" >> $GITHUB_ENV | ||
|
||
- name: Deploy to PR preview | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./github-pages-publisher/build | ||
destination_dir: ${{ env.PR_PATH }} | ||
|
||
- name: Add PR Preview comment | ||
uses: hasura/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
repository: ${{ github.repository }} | ||
number: ${{ github.event.number }} | ||
id: deploy-preview | ||
message: "A preview of this PR can be seen here:\n\n ✨ ${{ env.BASE_URL }} ✨\n\nChanges may take a few minutes to propagate. The source is here: https://github.com/${{ github.repository }}/tree/gh-pages/${{ env.PR_PATH }}/" | ||
|
||
summary: | ||
name: Summary | ||
needs: [build, test, type-check, lint, e2e-test] | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div style="background-color: red;"> | ||
<iframe src="http://localhost:28893/?url=ws%3A%2F%2Flocalhost%3A7070%2Fmml-websocket&renderer=threejs&ambientLight=0.25&backgroundColor=rgba(255,128,0,1)" allowtransparency="true" width="500" height="500"></iframe> | ||
<iframe src="http://localhost:28893/?url=ws%3A%2F%2Flocalhost%3A7070%2Fmml-websocket&renderer=playcanvas&ambientLight=0.25&backgroundColor=rgba(255,128,0,1)" allowtransparency="true" width="500" height="500"></iframe> | ||
<iframe src="http://localhost:28893/?url=ws%3A%2F%2Flocalhost%3A7070%2Fmml-websocket&renderer=tags&ambientLight=0.25&backgroundColor=rgba(255,128,0,0.5)" allowtransparency="true" width="500" height="500"></iframe> | ||
<iframe src="http://localhost:28893/?renderer=tags&ambientLight=0.25&backgroundColor=rgba(255,128,0,0.5)" allowtransparency="true" width="500" height="500"></iframe> | ||
</div> |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
4 changes: 2 additions & 2 deletions
4
...-m-attr-anim-assorted-assorted-attributes-are-affected-by-animations-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-m-attr-anim-assorted-assorted-attributes-are-affected-by-animations-2-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-m-attr-anim-assorted-assorted-attributes-are-affected-by-animations-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-m-attr-anim-assorted-assorted-attributes-are-affected-by-animations-4-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-m-attr-anim-assorted-assorted-attributes-are-affected-by-animations-5-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-m-attr-anim-assorted-assorted-attributes-are-affected-by-animations-6-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...anim-color-test-ts-m-attr-anim-color-color-is-affected-by-animations-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...anim-color-test-ts-m-attr-anim-color-color-is-affected-by-animations-2-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...anim-color-test-ts-m-attr-anim-color-color-is-affected-by-animations-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...anim-color-test-ts-m-attr-anim-color-color-is-affected-by-animations-4-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...anim-color-test-ts-m-attr-anim-color-color-is-affected-by-animations-5-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...anim-color-test-ts-m-attr-anim-color-color-is-affected-by-animations-6-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-attr-anim-easing-animations-are-eased-using-the-specified-functions-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-attr-anim-easing-animations-are-eased-using-the-specified-functions-2-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-attr-anim-easing-animations-are-eased-using-the-specified-functions-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-attr-anim-easing-animations-are-eased-using-the-specified-functions-4-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-attr-anim-easing-animations-are-eased-using-the-specified-functions-5-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-attr-anim-easing-animations-are-eased-using-the-specified-functions-6-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...-attr-anim-easing-animations-are-eased-using-the-specified-functions-7-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...nim-ping-pong-test-ts-m-attr-anim-ping-pong-animations-can-ping-pong-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...nim-ping-pong-test-ts-m-attr-anim-ping-pong-animations-can-ping-pong-2-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...nim-ping-pong-test-ts-m-attr-anim-ping-pong-animations-can-ping-pong-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...nim-ping-pong-test-ts-m-attr-anim-ping-pong-animations-can-ping-pong-4-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...nim-ping-pong-test-ts-m-attr-anim-ping-pong-animations-can-ping-pong-5-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...nim-ping-pong-test-ts-m-attr-anim-ping-pong-animations-can-ping-pong-6-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...ts-m-attr-anim-precedence-animations-are-used-in-order-of-precedence-1-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...nim-sequences-test-ts-m-attr-anim-sequences-animations-are-sequenced-1-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...nim-sequences-test-ts-m-attr-anim-sequences-animations-are-sequenced-2-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...nim-sequences-test-ts-m-attr-anim-sequences-animations-are-sequenced-3-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...nim-sequences-test-ts-m-attr-anim-sequences-animations-are-sequenced-4-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...nim-sequences-test-ts-m-attr-anim-sequences-animations-are-sequenced-5-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...-lerp-test-ts-m-attr-lerp-lerping-is-applied-according-to-attributes-1-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...-lerp-test-ts-m-attr-lerp-lerping-is-applied-according-to-attributes-2-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...-lerp-test-ts-m-attr-lerp-lerping-is-applied-according-to-attributes-3-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...ition-test-ts-m-plane-position-click-can-get-right-position-on-click-1-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...ition-test-ts-m-plane-position-click-can-get-right-position-on-click-2-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...s-m-plane-position-click-can-get-right-position-on-click-with-offset-1-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...s-m-plane-position-click-can-get-right-position-on-click-with-offset-2-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...apshots__/m-character-anim-pause-test-ts-m-character-animation-pause-1-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
..._image_snapshots__/m-cube-click-test-ts-m-cube-visible-and-clickable-2-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...pshots__/m-frame-bounds-load-range-test-ts-m-frame-bounds-load-range-1-snap.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...pshots__/m-frame-bounds-load-range-test-ts-m-frame-bounds-load-range-2-snap.png
Oops, something went wrong.
Oops, something went wrong.