Skip to content

Commit 38499bd

Browse files
committed
Enable publishing.
1 parent e43dca6 commit 38499bd

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ jobs:
3030
run: yarn lint && yarn test
3131
- name: Deploy to NPM
3232
if: github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.event_name == 'push'
33-
run: npm publish
34-
env:
35-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
33+
# Version 11.5.1 or later is required for npm publish
34+
run: |
35+
npm install -g npm@11.5.1
36+
npm publish --access public
37+
3638
3739
- name: After build
3840
if: github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.event_name == 'push'

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"repository": {
3434
"type": "git",
35-
"url": "git+https://github.com/rhosys/error-object-polyfill.js.git"
35+
"url": "git+https://github.com/Authress-Engineering/error-object-polyfill.js.git"
3636
},
3737
"keywords": [
3838
"nodejs",
@@ -46,7 +46,7 @@
4646
"author": "Rhosys Developers <developers@rhosys.ch> (http://rhosys.ch)",
4747
"license": "GPL-3.0",
4848
"bugs": {
49-
"url": "https://github.com/rhosys/error-object-polyfill.js/issues"
49+
"url": "https://github.com/Authress-Engineering/error-object-polyfill.js/issues"
5050
},
51-
"homepage": "https://github.com/rhosys/error-object-polyfill.js#readme"
51+
"homepage": "https://github.com/Authress-Engineering/error-object-polyfill.js#readme"
5252
}

0 commit comments

Comments
 (0)