From faacf12bf36f180ce179009b8f116bbdc67ef172 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sat, 5 Nov 2022 16:57:09 +0000 Subject: [PATCH] Tools: Add basic test to CI to ensure created Joplin Server image is valid --- .github/workflows/github-actions-main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-actions-main.yml b/.github/workflows/github-actions-main.yml index 614362fa0..483c8e892 100644 --- a/.github/workflows/github-actions-main.yml +++ b/.github/workflows/github-actions-main.yml @@ -159,4 +159,7 @@ jobs: run: | yarn install yarn run buildServerDocker --tag-name server-v0.0.0 --repository joplin/server - \ No newline at end of file + + # Basic test to ensure that the created build is valid. It should exit with + # code 0 if it works. + docker run joplin/server:0.0.0 node dist/app.js migrate list