Skip to content

Commit

Permalink
Merge pull request #60 from observerly/chore/github/workflows
Browse files Browse the repository at this point in the history
chore: amend workflows/publish.yml npm publish configuration in @observerly/fits
  • Loading branch information
michealroberts authored Jan 12, 2025
2 parents c35cf85 + 4e1711a commit 06f710e
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,9 @@ jobs:
- name: Build the package ready for publishing
run: pnpm run build

- uses: JS-DevTools/npm-publish@v1
- name: Publish to NPM 📦
uses: JS-DevTools/npm-publish@v3
with:
registry: 'https://npm.pkg.github.com'
token: ${{ secrets.GITHUB_TOKEN }}
check-version: true

- if: steps.publish.outputs.type != 'none'
run: |
echo "@observerly/fits package version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"
registry: 'https://registry.npmjs.org/'
access: 'public'
token: ${{ secrets.NPM_OBSERVERLY_PUBLIC_TOKEN }}

0 comments on commit 06f710e

Please sign in to comment.