Skip to content

Commit 66d24df

Browse files
committed
2 parents 4154fd7 + a9ef93d commit 66d24df

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish-package.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
registry-url: 'https://registry.npmjs.org'
3636
scope: "@sistent"
3737

38+
- name: "Set Package Version"
39+
uses: reedyuk/npm-version@1.1.1
40+
with:
41+
version: ${{ github.event.release.tag_name }} || ${{ inputs.release_version }}
42+
3843
- name: Install Dependencies
3944
run: npm ci
4045
env:
@@ -66,7 +71,7 @@ jobs:
6671
6772
- name: Publish Package
6873
env:
69-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
74+
NODE_AUTH_TOKEN: '' # Explicitly empty for install
7075
run: |
7176
set -e
7277
npm publish --provenance --access public --verbose

0 commit comments

Comments
 (0)