chore(release): prepare v0.8.0 #58
Workflow file for this run
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: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| name: Lint, test, build | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: avatar | |
| env: | |
| # Nothing here launches Electron: the unit-tested modules deliberately | |
| # avoid require('electron'), so the ~100 MB binary is dead weight. | |
| ELECTRON_SKIP_BINARY_DOWNLOAD: 1 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up Node | |
| uses: actions/setup-node@v5 | |
| with: | |
| # Vite 7 needs ^20.19.0 || >=22.12.0. | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: avatar/package-lock.json | |
| - name: Install | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint | |
| - name: Test | |
| run: npm test | |
| - name: Build | |
| run: npm run build |