diff --git a/.github/workflows/cli-test.yml b/.github/workflows/cli-test.yml index 611a377..9c0b907 100644 --- a/.github/workflows/cli-test.yml +++ b/.github/workflows/cli-test.yml @@ -31,10 +31,7 @@ jobs: echo "$OUTPUT" # Check the stout for the expected output - EXPECTED="✅ Annotated file written to: test.csv\nFile annotated successfully." - if [ "$OUTPUT" = "$EXPECTED" ]; then - echo "Output matches expected" - else - echo "Output does not match expected" + if ! echo "$OUTPUT" | grep -q "File annotated successfully."; then + echo "CLI execution didn't work" exit 1 fi \ No newline at end of file diff --git a/.github/workflows/risk-scores-test.yml b/.github/workflows/risk-scores-test.yml index a3b264b..719f5f5 100644 --- a/.github/workflows/risk-scores-test.yml +++ b/.github/workflows/risk-scores-test.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node-version: [ 14.x ] + node-version: [ 18.x ] steps: - uses: actions/checkout@v2