chore: release v0.0.1 #1
Workflow file for this run
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: | |
| tags: | |
| - v* | |
| jobs: | |
| publish-extension: | |
| permissions: | |
| id-token: write | |
| contents: write | |
| actions: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Set node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| cache: pnpm | |
| - run: npx changelogithub | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| - run: pnpm install | |
| - name: Generate .vsix file | |
| run: pnpm ext:package | |
| - name: Publish Extension | |
| run: npx vsxpub --no-dependencies | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| VSCE_PAT: ${{secrets.VSCE_PAT}} | |
| OVSX_PAT: ${{secrets.OVSX_PAT}} |