This PR replaces it with a simple bash script before it breaks.
Here is a similar shell script you can use for QA.
cd into a plugin dir (e.g. plugin-info)
touch npm-test.sh
Add the following
VERSION="2.1.11"
RESPONSE=$(npm view .@$VERSION version --json --silent)
echo $RESPONSE
if [ "$RESPONSE" = "\"$VERSION\"" ]; then
echo "published=true"
else
echo "published=false"
fi
- `source npm-test.sh`
- Change `VERSION` to a published and non-published version
[@W-14488765@](https://gus.my.salesforce.com/apex/ADM_WorkLocator?bugorworknumber=W-14488765)
https://github.com/oclif/github-workflows/pull/6
flood-io/is-published-on-npm is stale and uses the "soon to be deprecated"
set-output
format for setting values.This PR replaces it with a simple bash script before it breaks.
Here is a similar shell script you can use for QA.
cd
into a plugin dir (e.g.plugin-info
)touch npm-test.sh
echo $RESPONSE
if [ "$RESPONSE" = "\"$VERSION\"" ]; then echo "published=true" else echo "published=false" fi