Bump the editor package version from 1.861.0 to 1.862.0 #1169
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: Deploy VS Code Extension | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'apps/editor/package.json' | |
| workflow_dispatch: | |
| inputs: | |
| reason: | |
| description: 'Reason for manual deployment' | |
| required: false | |
| default: 'Manual deployment' | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Setup PNPM | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 9.6.0 | |
| run_install: false | |
| - name: Install dependencies | |
| run: pnpm i | |
| - name: Lint | |
| run: | | |
| cd apps/editor | |
| pnpm lint | |
| - name: Run Tests | |
| run: | | |
| cd apps/editor | |
| pnpm test | |
| - name: Build VS Code extension | |
| run: | | |
| cd apps/editor | |
| pnpm build | |
| - name: Publish to VS Code Marketplace | |
| continue-on-error: true | |
| run: | | |
| cd apps/editor | |
| npx @vscode/vsce publish --no-dependencies -p ${{ secrets.VSCE_PAT }} | |
| env: | |
| VSCE_PAT: ${{ secrets.VSCE_PAT }} | |
| - name: Publish to Open VSX Registry | |
| continue-on-error: true | |
| run: | | |
| cd apps/editor | |
| npx ovsx publish --no-dependencies -p ${{ secrets.OVSX_PAT }} | |
| env: | |
| OVSX_PAT: ${{ secrets.OVSX_PAT }} |