Document the preview, round-trip and auto-fit fixes (#30, #31, #32) #29
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 | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run tests | |
| run: npm test | |
| - name: Compile | |
| run: npm run compile | |
| # Packaged once and sent to both registries, so the VSIX on Open VSX is | |
| # byte for byte the one on the Marketplace rather than a second build. | |
| - name: Package | |
| run: npx @vscode/vsce package --out csv-grid-editor.vsix | |
| # --skip-duplicate on both, so re-running the job after one registry | |
| # failed does not stop at the one that already went through. | |
| - name: Publish to VS Code Marketplace | |
| run: npx @vscode/vsce publish --packagePath csv-grid-editor.vsix --pat ${{ secrets.VSCE_PAT }} --skip-duplicate | |
| # Open VSX is the registry behind Cursor, VSCodium, Windsurf, Gitpod and | |
| # Theia (issue #33). Namespace RobinReiche, created once with the CLI. | |
| - name: Publish to Open VSX | |
| run: npx ovsx publish csv-grid-editor.vsix --pat ${{ secrets.OVSX_PAT }} --skip-duplicate |