Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publint CI (1.70) #6366

Closed
wants to merge 23 commits into from
Closed

Publint CI (1.70) #6366

wants to merge 23 commits into from

Conversation

kpal81xd
Copy link
Contributor

  • Removes npm run build:publish (separate steps to build and publint)
  • Added publint step to ci

Martin Valigursky and others added 22 commits April 22, 2024 11:18
Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
…e it in some cases (#6308)

Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
)

* Fix: Clean up lines for rendering even when the Layer is disabled

* Update src/scene/immediate/immediate-batch.js

Co-authored-by: Will Eastcott <will@playcanvas.com>

---------

Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
Co-authored-by: Will Eastcott <will@playcanvas.com>
buildUrl never worked with relative paths as it would always replace the
path in the url instead of adding to it.
Using the other mode of the URL constructor we can use it to always give
us a correct url:

  `new URL('glslang/glslang.js', 'https://example.com/foo/bar.html')` is `https://example.com/foo/glslang/glslang.js`
  `new URL('/glslang/glslang.js', 'https://example.com/foo/bar.html')` is `https://example.com/glslang/glslang.js`
  `new URL('glslang/glslang.js', 'https://example.com/')` is `https://example.com/glslang/glslang.js`
  `new URL('/glslang/glslang.js', 'https://example.com/')` is `https://example.com/glslang/glslang.js`

This bug currently prevents Playcanvas Editor exports from being run on
a non root path with WebGPU. It will just pass `glslang.js` as path.
So on a url like https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/7a8f1fc6-7162-473a-b1dc-4479ed5d60cf/
the old code would turn it into https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/glslang.js
whil the actual paths should be https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/7a8f1fc6-7162-473a-b1dc-4479ed5d60cf/glslang.js
@kpal81xd kpal81xd self-assigned this May 14, 2024
Copy link

vercel bot commented May 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
engine ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 1:06pm

@kpal81xd kpal81xd requested a review from mvaligursky May 14, 2024 15:22
@kpal81xd kpal81xd added the github_actions Pull requests that update Github_actions code label May 14, 2024
@kpal81xd kpal81xd changed the base branch from release-1.70 to main_v1 May 23, 2024 11:01
@kpal81xd
Copy link
Contributor Author

Recreating PR for main_v1

@kpal81xd kpal81xd closed this May 23, 2024
@kpal81xd kpal81xd deleted the publint-1.70 branch May 23, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update Github_actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants