Skip to content

Commit 3a1697f

Browse files
test
1 parent 63b0d97 commit 3a1697f

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/publish-beta.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,14 @@ jobs:
2424
run: |
2525
node -e 'const fs=require("fs");const pkg=require("./package.json");const base=pkg.version.split("-")[0];const parts=base.split(".").map(Number);const next=parts[0]+"."+parts[1]+"."+(parts[2]+1)+"-beta."+Date.now();pkg.version=next;fs.writeFileSync("package.json",JSON.stringify(pkg,null,2)+"\n");console.log("version",next);'
2626
27+
- name: Prepare npm config (OIDC only)
28+
run: |
29+
rm -f ~/.npmrc
30+
: > "$RUNNER_TEMP/empty.npmrc"
31+
2732
- name: Publish beta to npm
2833
run: npm publish --tag beta --provenance
34+
env:
35+
NODE_AUTH_TOKEN: ""
36+
NPM_TOKEN: ""
37+
NPM_CONFIG_USERCONFIG: ${{ runner.temp }}/empty.npmrc

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"repository": {
1313
"type": "git",
14-
"url": "git+https://github.com/coffeedeveloper/cup.git"
14+
"url": "git@github.com:coffeedeveloper/cup.js.git"
1515
},
1616
"keywords": [
1717
"javascript",
@@ -21,7 +21,7 @@
2121
"author": "CoffeeDeveloper",
2222
"license": "MIT",
2323
"bugs": {
24-
"url": "https://github.com/coffeedeveloper/cup/issues"
24+
"url": "https://github.com/coffeedeveloper/cup.js/issues"
2525
},
26-
"homepage": "https://github.com/coffeedeveloper/cup#readme"
26+
"homepage": "https://github.com/coffeedeveloper/cup.js#readme"
2727
}

0 commit comments

Comments
 (0)