File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272 manifest : packages/devtools-extension/dist/manifest.json
7373 api-key : ${{ secrets.AMO_JWT_ISSUER }}
7474 api-secret : ${{ secrets.AMO_JWT_SECRET }}
75+
76+ publish-vscode :
77+ runs-on : ubuntu-latest
78+ steps :
79+ - uses : actions/checkout@v4
80+
81+ - uses : pnpm/action-setup@v4
82+
83+ - uses : actions/setup-node@v4
84+ with :
85+ node-version : 24
86+ cache : pnpm
87+
88+ - run : pnpm install --frozen-lockfile
89+
90+ - name : Build all packages
91+ run : pnpm build
92+
93+ - name : Publish to VS Code Marketplace
94+ working-directory : packages/vscode-extension
95+ run : pnpm vsce publish --no-dependencies --pat "$VSCE_PAT"
96+ env :
97+ VSCE_PAT : ${{ secrets.VSCE_PAT }}
Original file line number Diff line number Diff line change 8484 manifest : packages/devtools-extension/dist/manifest.json
8585 api-key : ${{ secrets.AMO_JWT_ISSUER }}
8686 api-secret : ${{ secrets.AMO_JWT_SECRET }}
87+
88+ - name : Publish VS Code extension (pre-release)
89+ if : inputs.extension
90+ working-directory : packages/vscode-extension
91+ run : pnpm vsce publish --no-dependencies --pre-release --pat "$VSCE_PAT"
92+ env :
93+ VSCE_PAT : ${{ secrets.VSCE_PAT }}
94+
8795 release :
8896 if : github.event_name == 'push'
8997 runs-on : ubuntu-latest
@@ -112,8 +120,8 @@ jobs:
112120 with :
113121 publish : pnpm release
114122 version : pnpm run version
115- title : " chore: version packages"
116- commit : " chore: version packages"
123+ title : ' chore: version packages'
124+ commit : ' chore: version packages'
117125 env :
118126 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
119127 NPM_CONFIG_PROVENANCE : true
You can’t perform that action at this time.
0 commit comments