Skip to content

Commit 90f676d

Browse files
use npm registry
1 parent e4b9296 commit 90f676d

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish package to GitHub Packages
1+
name: Publish package to npm Registry
22

33
on:
44
release:
@@ -13,14 +13,11 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16-
# Setup .npmrc file to publish to GitHub Packages
1716
- uses: actions/setup-node@v4
1817
with:
1918
node-version: '20.x'
20-
registry-url: 'https://npm.pkg.github.com'
21-
# Defaults to the user or organization that owns the workflow file
22-
scope: '@${{ github.repository_owner }}'
19+
registry-url: 'https://registry.npmjs.org'
2320
- run: npm ci
2421
- run: npm publish
2522
env:
26-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@programcomputer/nasa-mcp-server",
2+
"name": "nasa-mcp-server",
33
"version": "1.0.0",
44
"description": "Model Context Protocol (MCP) server for NASA APIs",
55
"main": "dist/index.js",
@@ -29,9 +29,9 @@
2929
"typescript"
3030
],
3131
"author": "",
32-
"license": "MIT",
32+
"license": "ISC",
3333
"publishConfig": {
34-
"registry": "https://npm.pkg.github.com",
34+
"registry": "https://registry.npmjs.org",
3535
"access": "public"
3636
},
3737
"repository": {

0 commit comments

Comments
 (0)