Skip to content

Commit a109783

Browse files
committed
ci: update release.yml
1 parent 7443625 commit a109783

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: pnpm run test
3838

3939
- name: Config npm
40-
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
40+
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > dist/.npmrc
4141
env:
4242
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4343

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@
3636
"import": "./index.js"
3737
}
3838
},
39+
"files": [
40+
"core",
41+
"utils",
42+
"package.json",
43+
"README.md",
44+
"README.ZH-CN.md",
45+
"index.js",
46+
"index.cjs",
47+
"index.d.ts"
48+
],
3949
"typesVersions": {
4050
"*": {
4151
"*": [

0 commit comments

Comments
 (0)