Skip to content

Commit 06f710e

Browse files
Merge pull request #60 from observerly/chore/github/workflows
chore: amend workflows/publish.yml npm publish configuration in @observerly/fits
2 parents c35cf85 + 4e1711a commit 06f710e

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,9 @@ jobs:
5050
- name: Build the package ready for publishing
5151
run: pnpm run build
5252

53-
- uses: JS-DevTools/npm-publish@v1
53+
- name: Publish to NPM 📦
54+
uses: JS-DevTools/npm-publish@v3
5455
with:
55-
registry: 'https://npm.pkg.github.com'
56-
token: ${{ secrets.GITHUB_TOKEN }}
57-
check-version: true
58-
59-
- if: steps.publish.outputs.type != 'none'
60-
run: |
61-
echo "@observerly/fits package version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"
56+
registry: 'https://registry.npmjs.org/'
57+
access: 'public'
58+
token: ${{ secrets.NPM_OBSERVERLY_PUBLIC_TOKEN }}

0 commit comments

Comments
 (0)