This repository was archived by the owner on Jun 14, 2026. It is now read-only.
Add custom status line support for Copilot CLI 1.0.52+ and update doc… #6
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: Test | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [18, 20, 22] | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Syntax check | |
| run: node --check bin/token-meter.js bin/copilot-tokens lib/*.js | |
| - name: Lint | |
| if: matrix.os == 'ubuntu-latest' && matrix.node-version == 22 | |
| run: | | |
| npm install --no-audit --no-fund --silent | |
| npm run lint | |
| - name: Unit tests | |
| run: node --test test/ | |
| - name: Smoke test CLI help | |
| run: node bin/copilot-tokens help |