fix ci build 💚
continuous-integration/drone/push Build is failing Details

pull/90/head
Pierre Ferreira 1 year ago
parent d1e47d994e
commit dd4eb3aa06

@ -2,6 +2,10 @@ kind: pipeline
type: docker type: docker
name: default name: default
trigger:
event:
- push
steps: steps:
- name: build - name: build
@ -15,7 +19,7 @@ steps:
image: node:20 image: node:20
commands: commands:
- cd ./cryptide_project - cd ./cryptide_project
- npm install --legacy-peer-deps #- npm install --legacy-peer-deps
- npm run test - npm run test
- ls ./test/coverage - ls ./test/coverage
- sonar-scanner -Dsonar.projectKey=Learnihon -Dsonar.sources=. -Dsonar.host.url=$${PLUGIN_SONAR_HOST} - sonar-scanner -Dsonar.projectKey=Learnihon -Dsonar.sources=. -Dsonar.host.url=$${PLUGIN_SONAR_HOST}

@ -132,6 +132,7 @@ const MyGraphComponent: React.FC<MyGraphComponentProps> = ({onNodeClick, handleS
}) })
socket.on("node checked",(id, works, color, newPlayerIndex) => { socket.on("node checked",(id, works, color, newPlayerIndex) => {
//@ts-ignore
const node = nodes.get().find((n) => id == n.id) const node = nodes.get().find((n) => id == n.id)
if (node!=undefined){ if (node!=undefined){
onNodeClick(false) onNodeClick(false)

Loading…
Cancel
Save