We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e864d commit 21c3ea1Copy full SHA for 21c3ea1
.github/workflows/ci.yml
@@ -25,9 +25,20 @@ jobs:
25
if: runner.os == 'Linux'
26
- run: pnpm test
27
if: runner.os != 'Linux'
28
- - name: Publish
29
- if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
30
- run: pnpm run deploy
31
- env:
32
- VSCE_PAT: ${{ secrets.VSCE_PAT }}
33
-
+ publish:
+ needs: build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
34
+ - name: Install Node.js
35
+ uses: actions/setup-node@v4
36
+ with:
37
+ node-version: 23.x
38
+ - run: npm -g install pnpm@latest
39
+ - run: pnpm install
40
+ - name: Publish
41
+ if: startsWith(github.ref, 'refs/tags/')
42
+ run: pnpm run deploy
43
+ env:
44
+ VSCE_PAT: ${{ secrets.VSCE_PAT }}
0 commit comments