diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31d56ad..a15bb0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,4 +22,13 @@ jobs: - run: npx changelogithub env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + + - run: npm i -g vsce + - run: npm install + env: + CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}} + - run: npm run compile + - run: vsce publish -p ${{secrets.VSCE_TOKEN}} --no-dependencies + env: + VSCE_TOKEN: ${{secrets.VSCE_TOKEN}} \ No newline at end of file diff --git a/package.json b/package.json index fecd270..9d437c0 100644 --- a/package.json +++ b/package.json @@ -168,7 +168,7 @@ "lint": "eslint ./client/src ./server/src --ext .ts,.tsx", "postinstall": "cd client && npm install && cd ../server && npm install && cd ..", "test": "sh ./scripts/e2e.sh", - "release": "bumpp && npm run publish", + "release": "bumpp", "publish": "vsce publish --no-dependencies", "pack": "vsce package --no-dependencies" },