Skip to content

Commit ab43f0b

Browse files
committed
ci: update package scripts
1 parent 5227759 commit ab43f0b

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: 🚀 Build and publish
7777
if: ${{ github.event.inputs.publishMarketplace == 'yes' && !startsWith(github.event.inputs.releaseType, 'pre') }}
7878
run: |
79-
pnpm run publish:next
79+
pnpm run publish
8080
env:
8181
NODE_ENV: production
8282
VSCE_PAT: ${{ secrets.VSCE_PAT }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"coverage": "vitest --run --coverage",
3232
"graph": "pnpm run build --graph assets/build.png",
3333
"version": "pnpm --filter @vscode-wdio/release run changelog && git add CHANGELOG.md",
34-
"postversion": "pnpm --filter @vscode-wdio/release run push",
3534
"postinstall": "run-s postinstall:*",
3635
"postinstall:husky": "husky"
3736
},
@@ -63,9 +62,11 @@
6362
},
6463
"pnpm": {
6564
"onlyBuiltDependencies": [
65+
"@vscode/vsce-sign",
6666
"edgedriver",
6767
"esbuild",
6868
"geckodriver",
69+
"keytar",
6970
"nx",
7071
"unrs-resolver"
7172
]

packages/vscode-webdriverio/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@
2929
"prepackage:update-version": "pnpm --filter @vscode-wdio/release run update-version",
3030
"package": "vsce package",
3131
"publish": "vsce publish",
32+
"postpublish": "pnpm --filter @vscode-wdio/release run push",
3233
"package:next": "pnpm run package --pre-release",
33-
"publish:next": "vsce publish --pre-release",
34+
"publish:next": "pnpm run publish --pre-release",
3435
"typecheck": "tsc --noEmit --project tsconfig.json",
3536
"clean": "shx rm -rf out dist coverage"
3637
},

0 commit comments

Comments
 (0)