Skip to content

Commit d920fc9

Browse files
verify
1 parent 78be9bf commit d920fc9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/publish.reusable.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ jobs:
3232
RELEASE_TAG: "0.1.0"
3333
PRERELEASE: ${{ env.PRERELEASE }}
3434

35+
- name: Verify NPM TOKEN exists
36+
if: !!secrets.NPM_TOKEN
37+
run: |
38+
{
39+
echo "Found NPM Token"
40+
}
41+
3542
- name: Publish npm packages as nightly
3643
if: false
3744
run: |
@@ -40,11 +47,12 @@ jobs:
4047
done
4148
env:
4249
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} #
50+
4351
- name: Publish npm packages as latest
4452
if: true
4553
run: |
4654
for package in packages/@pglt/*; do
4755
npm publish $package --tag latest --access public --provenance
4856
done
4957
env:
50-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} #
58+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)