Release 2026.03.1 #2062
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] | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup node version | |
| run: | | |
| echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: 'yarn' | |
| - uses: actions/cache@v4 | |
| id: cache | |
| with: | |
| path: | | |
| ~/node_modules | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }} | |
| - name: Install dependencies | |
| if: steps.cache.outputs.cache-hit != 'true' | |
| run: yarn install --frozen-lockfile | |
| - name: Run lint | |
| run: yarn lint | |
| tests: | |
| needs: lint | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup node version | |
| run: | | |
| echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: 'yarn' | |
| - name: Install deps | |
| run: yarn install --frozen-lockfile | |
| - name: Run tests | |
| env: | |
| REACT_APP_API_DOMAIN: http://localhost:8080 | |
| REACT_APP_WEB_URI: http://localhost:5173 | |
| run: yarn test:nowatch | |
| build: | |
| needs: tests | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup node version | |
| run: | | |
| echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: 'yarn' | |
| - name: Install deps | |
| run: yarn install --frozen-lockfile | |
| - name: Build admin app | |
| env: | |
| CI: false | |
| run: yarn build |