diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21bf804..8b143f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,9 +35,6 @@ jobs: - name: Test run: pnpm run test - - name: Build - run: pnpm run build:minify - - name: Publish run: pnpm run publish env: diff --git a/scripts/publish.ts b/scripts/publish.ts index b86cd42..e97fb5b 100644 --- a/scripts/publish.ts +++ b/scripts/publish.ts @@ -34,12 +34,13 @@ const publish = async () => { ], { cwd: root, stdio: 'inherit' } ) - // console.log('\nPublish to OVSE...\n') - // await execa( - // 'npx', - // ['ovsx', 'publish', '--no-dependencies', '-p', process.env.OVSX_TOKEN!], - // { cwd: root, stdio: 'inherit' } - // ) + + console.log('\nPublish to OVSE...\n') + await execa( + 'npx', + ['ovsx', 'publish', '--no-dependencies', '-p', process.env.OVSX_TOKEN!], + { cwd: root, stdio: 'inherit' } + ) } finally { await fs.writeFile(pkgPath, rawJSON, 'utf-8') }