chore: Bump package version to 1.0.3 #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Extension | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Publish to VS Code Marketplace | |
| run: npx vsce publish -p ${{ secrets.VSCE_PAT }} | |
| continue-on-error: true # Optional: prevents failure if version is not updated | |
| - name: Publish to Open VSX Registry | |
| run: npx ovsx publish -p ${{ secrets.OVSX_PAT }} | |
| continue-on-error: true # Optional: prevents failure if version is not updated |