Skip to content

Commit

Permalink
changing registry url on package json
Browse files Browse the repository at this point in the history
  • Loading branch information
heliomar-pena committed May 5, 2024
1 parent 568549f commit 89ceab6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:
- run: npm ci
- run: npm test

# publish-gpr:
# needs: build
# runs-on: ubuntu-latest
# permissions:
# packages: write
# contents: read
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 18
# registry-url: https://npm.pkg.github.com/
# - run: npm ci
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
"services/translateService.js",
"services/libreTranslate.js"
],
"publishConfig": {
"registry":"https://npm.pkg.github.com/"
},
"keywords": [
"i18n",
"tools",
Expand Down

0 comments on commit 89ceab6

Please sign in to comment.