We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b823588 commit da2e9bcCopy full SHA for da2e9bc
.github/workflows/npm-publish.yml
@@ -33,9 +33,11 @@ jobs:
33
PACKAGE_VERSION=$(node -p "require('./package.json').version")
34
if npm view @opencrvs/mosip@$PACKAGE_VERSION > /dev/null 2>&1; then
35
echo "Version $PACKAGE_VERSION already exists on npm."
36
+ echo "version-exists=true" >> $GITHUB_OUTPUT
37
exit 0
38
else
39
echo "Version $PACKAGE_VERSION does not exist on npm."
40
+ echo "version-exists=false" >> $GITHUB_OUTPUT
41
fi
42
working-directory: packages/country-config
43
0 commit comments