Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

Commit

Permalink
Fix scope for GH package registry
Browse files Browse the repository at this point in the history
  • Loading branch information
aw committed Nov 24, 2019
1 parent 5c1e3e4 commit 63f43c1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
with:
node-version: 12.x
registry-url: 'https://registry.npmjs.org/'
scope: '@aw'
- name: Publish to NPM registry
run: |
npm config set scope "@aw"
Expand All @@ -50,10 +51,10 @@ jobs:
with:
node-version: 12.x
registry-url: 'https://npm.pkg.github.com/'
scope: '@aw'
scope: '@on-prem'
- name: Publish to GitHub Package registry
run: |
npm config set scope "@aw"
npm config set scope "@on-prem"
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion lib/on-prem-meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
exports.options = options;

needle.defaults({
user_agent: 'nodeclient-on-prem-meta/1.0.3',
user_agent: 'nodeclient-on-prem-meta/1.0.4',
response_timeout: 10000 // 10 seconds
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description": "Official On-Prem Meta REST API client and helper library",
"author": "Alexander Williams, Unscramble <[email protected]>",
"name": "@aw/on-prem-meta",
"version": "1.0.3",
"version": "1.0.4",
"license": "MIT",
"homepage": "https://on-premises.com",
"main": "lib/on-prem-meta.js",
Expand Down
2 changes: 1 addition & 1 deletion src/on-prem-meta.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ exports.settings = settings
exports.options = options

needle.defaults
user_agent: 'nodeclient-on-prem-meta/1.0.3'
user_agent: 'nodeclient-on-prem-meta/1.0.4'
response_timeout: 10000 # 10 seconds

exports.buildRequest = (params = {method: 'GET', endpoint: 'version'}, callback) ->
Expand Down

0 comments on commit 63f43c1

Please sign in to comment.