Skip to content

Commit 9cd7553

Browse files
authored
FIX: always auth (#60)
* FIX: always auth * FIX: use prepublishOnly
1 parent d5640cb commit 9cd7553

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/publish_release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
with:
3737
node-version: "14"
3838
registry-url: "https://registry.npmjs.org/"
39+
always-auth: true
3940

4041
- name: Install npm dependencies
4142
run: npm ci

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"build:cjs": "npx tsc -p tsconfig.cjs.json",
2323
"compile": "npx tsc --noEmit",
2424
"lint": "npx xo",
25-
"prepublish": "npm run build",
25+
"prepublishOnly": "npm run build",
2626
"test": "npx jest"
2727
},
2828
"lint-staged": {

0 commit comments

Comments
 (0)