chore(deps): bump fast-xml-parser from 5.10.0 to 5.10.1 in /app/vue #57
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: VSCode Extension | |
| on: | |
| push: | |
| branches: [main, 'feature/vscode-extension'] | |
| paths: | |
| - 'vscode-extension/**' | |
| - 'app/vue/**' | |
| - 'routes/**' | |
| - 'utils/**' | |
| - '.github/workflows/vscode-extension.yml' | |
| tags: | |
| - 'vscode-v*' | |
| pull_request: | |
| paths: | |
| - 'vscode-extension/**' | |
| - 'app/vue/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| node: [20, 22] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - run: npm ci | |
| - run: cd app/vue && npm ci | |
| - run: cd vscode-extension && npm ci | |
| - run: cd app/vue && npm test | |
| - run: cd vscode-extension && npm run compile | |
| - run: cd vscode-extension && npm run bundle | |
| - name: Assert bundled webview is current | |
| shell: bash | |
| run: | | |
| BUNDLE=vscode-extension/webview-dist/assets/index.js | |
| test -f "$BUNDLE" || { echo "::error::$BUNDLE missing — bundle step did not copy the Vue build"; exit 1; } | |
| grep -q "Import / Export / Convert" "$BUNDLE" || { echo "::error::Bundled webview is stale: 'Import / Export / Convert' group not found in $BUNDLE"; exit 1; } | |
| echo "Bundled webview contains the current navigation." | |
| - run: cd vscode-extension && npx vsce package | |
| - uses: actions/upload-artifact@v7 | |
| if: matrix.os == 'ubuntu-latest' && matrix.node == 22 | |
| with: | |
| name: vsix | |
| path: vscode-extension/*.vsix | |
| release: | |
| needs: build | |
| if: startsWith(github.ref, 'refs/tags/vscode-v') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: vsix | |
| - uses: softprops/action-gh-release@v2 | |
| with: | |
| files: '*.vsix' |