Skip to content

Commit 8313147

Browse files
Configure registry
1 parent 0f364ac commit 8313147

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ on:
1212
jobs:
1313
build:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
packages: write
1518
steps:
1619
- uses: actions/checkout@v4
1720
- uses: actions/setup-node@v4
1821
with:
1922
node-version: 20
20-
registry-url: https://registry.npmjs.org/
23+
registry-url: https://npm.pkg.github.com
2124
- name: Setup Build Environment
2225
run: |
2326
sudo apt-get update

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"prepare-demo": "node prepare-demo.js",
1111
"demo": "node ./demo/http.js"
1212
},
13-
"repository": "https://github.com/solarspace-dev/vscode-web.git",
13+
"repository": {
14+
"type": "git",
15+
"url": "https://github.com/solarspace-dev/vscode-web.git"
16+
},
1417
"authors": [
1518
"Felix B",
1619
"Raoul Schaffranek"
@@ -25,8 +28,5 @@
2528
"fs-extra": "^9.0.1"
2629
},
2730
"dependencies": {},
28-
"publishConfig": {
29-
"registry": "https://npm.pkg.github.com"
30-
},
3131
"packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
3232
}

0 commit comments

Comments
 (0)