chore: release version 0.6.0 (--fix commands + status-bar summary) #19
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Type-check and bundle | |
| run: npm run compile | |
| - name: Lint | |
| run: npm run lint | |
| - name: Test (unit) | |
| run: npm test | |
| # Integration tests launch a real VS Code host. We run them on Linux (via | |
| # xvfb) and Windows. macOS is skipped: the arm64 macos-latest runners fail | |
| # to launch the downloaded VS Code app bundle ("spawn ... Electron ENOENT"), | |
| # a known @vscode/test-electron issue. macOS shares Linux's POSIX code path, | |
| # so unit tests above still cover it. | |
| - name: Test (integration, Linux) | |
| if: runner.os == 'Linux' | |
| run: xvfb-run -a npm run test:integration | |
| - name: Test (integration, Windows) | |
| if: runner.os == 'Windows' | |
| run: npm run test:integration | |
| package: | |
| name: Package (smoke check) | |
| runs-on: ubuntu-latest | |
| needs: test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Package VSIX | |
| run: npx --yes @vscode/vsce package --out angular-code-quality-toolkit.vsix | |
| - name: Upload VSIX artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: angular-code-quality-toolkit-vsix | |
| path: angular-code-quality-toolkit.vsix | |
| if-no-files-found: error |