Skip to content

Commit 099350c

Browse files
ok
1 parent d920fc9 commit 099350c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/publish.reusable.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ jobs:
3333
PRERELEASE: ${{ env.PRERELEASE }}
3434

3535
- name: Verify NPM TOKEN exists
36-
if: !!secrets.NPM_TOKEN
3736
run: |
38-
{
39-
echo "Found NPM Token"
40-
}
37+
if [ -z "${{ secrets.NPM_TOKEN }}" ]; then
38+
echo "Secret is not defined"
39+
exit 1
40+
else
41+
echo "Secret is defined"
42+
fi
4143
4244
- name: Publish npm packages as nightly
4345
if: false

0 commit comments

Comments
 (0)