Skip to content

Commit 00404a0

Browse files
committed
ci: add publish to open-vsx.org
1 parent 2a3b4ed commit 00404a0

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ jobs:
3535
- name: Test
3636
run: pnpm run test
3737

38-
- name: Build
39-
run: pnpm run build:minify
40-
4138
- name: Publish
4239
run: pnpm run publish
4340
env:

scripts/publish.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ const publish = async () => {
3434
],
3535
{ cwd: root, stdio: 'inherit' }
3636
)
37-
// console.log('\nPublish to OVSE...\n')
38-
// await execa(
39-
// 'npx',
40-
// ['ovsx', 'publish', '--no-dependencies', '-p', process.env.OVSX_TOKEN!],
41-
// { cwd: root, stdio: 'inherit' }
42-
// )
37+
38+
console.log('\nPublish to OVSE...\n')
39+
await execa(
40+
'npx',
41+
['ovsx', 'publish', '--no-dependencies', '-p', process.env.OVSX_TOKEN!],
42+
{ cwd: root, stdio: 'inherit' }
43+
)
4344
} finally {
4445
await fs.writeFile(pkgPath, rawJSON, 'utf-8')
4546
}

0 commit comments

Comments
 (0)