From 0ef8c6e64112d3e63fabb880c4ed5f171a029ba0 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Fri, 22 Nov 2024 05:10:06 +0000 Subject: [PATCH] forgejo: Fix ci testing --- .forgejo/workflows/deploy.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 07e304a..23810ce 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -16,12 +16,19 @@ jobs: run: pnpm run test --ignore-only - name: Sanity check it detects this CI run: | - if node index.js; then - echo "Success" + if node in.js; then + echo "in.js: Success" else echo "Failed for forgejo" exit 1 fi + + if node not.js; then + echo "Failed for forgejo" + exit 1 + else + echo "not.js: Success" + fi - name: Deply if new version run: | echo ""