diff --git a/.github/workflows/pretest.yaml b/.github/workflows/pretest.yaml index b7b9dc9..e7d9334 100644 --- a/.github/workflows/pretest.yaml +++ b/.github/workflows/pretest.yaml @@ -15,8 +15,15 @@ jobs: FROM project-dev ADD . /project - # create an empty file to make `go:embed` happy - RUN cd /project && mkdir app/frontend/build && touch app/frontend/build/test && mkdir docs/build && touch docs/build/test + # create empty files to make `go:embed` happy + RUN \ + cd /project && \ + mkdir app/frontend/build && \ + touch app/frontend/build/test && \ + mkdir docs/build && \ + touch docs/build/test && \ + mkdir app/yjs-server/bin && \ + touch app/yjs-server/bin/yjs-server # generate code RUN cd /project && task openapi && task proto diff --git a/Taskfile.yaml b/Taskfile.yaml index 1198546..62a81e8 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -54,6 +54,7 @@ tasks: build-dev: cmds: - rm -f build/nutsh-dev + - task: yjs:build - task: frontend:build-dev - task: backend:build - mv build/nutsh build/nutsh-dev