Update homeglow.sh #115
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 Tests | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-tests-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: frontend | |
| path: ./client | |
| - name: backend | |
| path: ./server | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| - name: Install dependencies (${{ matrix.name }}) | |
| run: npm install | |
| working-directory: ${{ matrix.path }} | |
| - name: Run tests (${{ matrix.name }}) | |
| run: npm test | |
| working-directory: ${{ matrix.path }} | |
| # Every English key must exist in every other language (issue #137), so a | |
| # new string can't ship as untranslated text in a translated UI. | |
| - name: Check translation completeness | |
| if: matrix.name == 'frontend' | |
| run: npm run check:i18n | |
| working-directory: ${{ matrix.path }} |