Skip to content

Commit cd64b75

Browse files
committed
[fix] NPM provenance configuration
1 parent 50ff114 commit cd64b75

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
1111
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
id-token: write
1316
steps:
1417
- uses: actions/checkout@v4
1518

@@ -25,7 +28,7 @@ jobs:
2528
run: pnpm i --frozen-lockfile
2629

2730
- name: Build & Publish
28-
run: npm publish --acess public --provenance
31+
run: npm publish --access public --provenance
2932
env:
3033
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3134

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.*
2-
eslint.config.js
2+
eslint.config.mjs
33
test/
44
docs/

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
"homepage": "https://tech-query.me/GitHub-Web-Widget/",
1515
"repository": {
1616
"type": "git",
17-
"url": "git+https://github.com/TechQuery/GitHub-Web-Widget.git"
17+
"url": "git+https://github.com/EasyWebApp/GitHub-Web-Widget.git"
1818
},
1919
"bugs": {
20-
"url": "https://github.com/TechQuery/GitHub-Web-Widget/issues"
20+
"url": "https://github.com/EasyWebApp/GitHub-Web-Widget/issues"
2121
},
2222
"source": "source/index.ts",
2323
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)