Skip to content

Document the preview, round-trip and auto-fit fixes (#30, #31, #32) #29

Document the preview, round-trip and auto-fit fixes (#30, #31, #32)

Document the preview, round-trip and auto-fit fixes (#30, #31, #32) #29

Workflow file for this run

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