Skip to content

Commit 2f1c050

Browse files
committed
publish zip
1 parent 079fd19 commit 2f1c050

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/package-only.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ jobs:
5555
run: |
5656
echo "@aipexstudio:registry=https://npm.pkg.github.com" >> ~/.npmrc
5757
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
58-
pnpm publish:github
58+
pnpm publish:extension
5959
env:
6060
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/submit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: |
5959
echo "@aipexstudio:registry=https://npm.pkg.github.com" >> ~/.npmrc
6060
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
61-
pnpm publish:github
61+
pnpm publish:extension
6262
env:
6363
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6464

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@
1717
"package": "plasmo package",
1818
"build:css": "npx tailwindcss -i ./src/tailwind.css -o ./src/style.css --minify",
1919
"prepublishOnly": "pnpm build && pnpm package",
20-
"publish:github": "npm publish"
20+
"publish:github": "npm publish",
21+
"publish:extension": "pnpm build && pnpm package && npm publish"
2122
},
23+
"files": [
24+
"build/",
25+
"README.md",
26+
"package.json"
27+
],
2228
"dependencies": {
2329
"@ant-design/x": "^1.4.0",
2430
"@assistant-ui/react": "^0.10.25",

0 commit comments

Comments
 (0)