1.150.0 #700
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: Unit Tests | |
| on: | |
| pull_request: | |
| branches: [master, "[0-9]*.[0-9]*.[0-9]*"] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| env: | |
| # Electron is only needed to package the desktop app, skip its ~100 MB binary here | |
| ELECTRON_SKIP_BINARY_DOWNLOAD: 1 | |
| jobs: | |
| test: | |
| timeout-minutes: 60 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: "24" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Check the version is in sync across versioning.ts and the package files | |
| run: node scripts/sync-version.js --check | |
| - name: Check the public assets index.html serves are stamped with their current contents | |
| run: node scripts/stamp-assets.js --check | |
| - name: Run Unit tests | |
| run: npm run test |