Release v1.2.5 #16
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: VS Code extension tests | |
| on: | |
| push: | |
| branches: [main, DEV] | |
| paths: | |
| - "vscode-extension/**" | |
| - ".github/workflows/extension-ci.yml" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "vscode-extension/**" | |
| - ".github/workflows/extension-ci.yml" | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: vscode-extension | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| cache-dependency-path: vscode-extension/package-lock.json | |
| - run: npm ci | |
| - name: Type-check | |
| run: npx tsc -p . --noEmit | |
| - name: Run tests | |
| run: npm test | |
| - name: Package .vsix | |
| run: npm run package | |
| - name: Upload .vsix artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: claude-usage-extension-vsix | |
| path: vscode-extension/*.vsix | |
| if-no-files-found: error | |
| retention-days: 14 |