Merge pull request #4617 from penpot/niwinz-fix-ci

🐳 Fix CI
This commit is contained in:
Alejandro 2024-05-23 11:50:07 +02:00 committed by GitHub
commit 20a7d668f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 16 deletions

View file

@ -102,15 +102,15 @@ jobs:
yarn install yarn install
yarn test yarn test
- run: # - run:
name: "frontend integration tests" # name: "frontend integration tests"
working_directory: "./frontend" # working_directory: "./frontend"
command: | # command: |
yarn install # yarn install
yarn run compile # yarn run compile
clojure -M:dev:shadow-cljs compile main # clojure -M:dev:shadow-cljs compile main
yarn playwright install --with-deps chromium # yarn playwright install --with-deps chromium
yarn e2e:test # yarn e2e:test
- run: - run:
name: "backend tests" name: "backend tests"

View file

@ -26,7 +26,7 @@
(mf/defc plugin-entry (mf/defc plugin-entry
[{:keys [index manifest on-open-plugin on-remove-plugin]}] [{:keys [index manifest on-open-plugin on-remove-plugin]}]
(let [{:keys [host icon url name description]} manifest (let [{:keys [host icon name description]} manifest
handle-open-click handle-open-click
(mf/use-callback (mf/use-callback
(mf/deps index manifest on-open-plugin) (mf/deps index manifest on-open-plugin)
@ -70,12 +70,12 @@
[{:keys [name description host code icon permissions]}] [{:keys [name description host code icon permissions]}]
(.ɵloadPlugin (.ɵloadPlugin
js/window #js js/window #js
{:name name {:name name
:description description :description description
:host host :host host
:code code :code code
:icon icon :icon icon
:permissions (apply array permissions)})) :permissions (apply array permissions)}))
(mf/defc plugin-management-dialog (mf/defc plugin-management-dialog
{::mf/register modal/components {::mf/register modal/components