Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 21
registry-url: https://registry.npmjs.org/
- run: npm run publish
- run: npm run prepareToPublish
env:
RELEASE: ${{github.event.release.name}}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Proxy classes for creating a http server",
"keywords": ["web", "web-server", "http", "http-server", "oop"],
"scripts": {
"publish": "node dist/prepareToPublish.js && npm publsih"
"prepareToPublish": "node dist/prepareToPublish.js"
},
"author": {
"name": "volatilization",
Expand Down