Skip to content

Commit f4e90cf

Browse files
committed
fix (ci): instead of throwing error we just return the exist status code .
Signed-off-by: rafaeljohn9 <rafaeljohb@gmail.com>
1 parent 5a3035b commit f4e90cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
console.error(`Run: npm install -g ${pkg}`);
129129
process.exit(1);
130130
} else {
131-
throw e;
131+
process.exit(e.status || 1);
132132
}
133133
}
134134
EOF

0 commit comments

Comments
 (0)