Skip to content

Commit 5b9a4cb

Browse files
committed
feat: update publish workflow to include registry URL and fix publish command
1 parent fd6917a commit 5b9a4cb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/publish-github.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
release:
44
types: [published]
55
workflow_dispatch:
6+
67
jobs:
78
build:
89
runs-on: ubuntu-latest
@@ -21,6 +22,7 @@ jobs:
2122
uses: actions/setup-node@v6
2223
with:
2324
node-version: ${{ matrix.node-version }}
25+
registry-url: 'https://npm.pkg.github.com'
2426

2527
- name: Create .npmrc
2628
run: |
@@ -34,4 +36,4 @@ jobs:
3436
run: npm run build
3537

3638
- name: Publish
37-
run: npm publish --scope=@internxt --access public
39+
run: npm publish --scope=@internxt --registry=https://npm.pkg.github.com --tag latest

0 commit comments

Comments
 (0)