Skip to content

Commit

Permalink
deploy to private npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
jjantschulev committed Aug 2, 2024
1 parent f5092b5 commit 633b8da
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push:
branches:
- master

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
./test/
./docs/
./demo/
.vscode
.yarn
.editorconfig
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"src/VFS.js",
"src/WebLocksMixin.js",
"src/examples/*",
"dist/*",
"test/*"
"dist/*"
],
"scripts": {
"build-docs": "typedoc",
Expand Down Expand Up @@ -41,5 +40,8 @@
"unplugged": true
}
},
"packageManager": "[email protected]"
}
"packageManager": "[email protected]",
"publishConfig": {
"access": "restricted"
}
}

0 comments on commit 633b8da

Please sign in to comment.