jam/.github/workflows/build.yml
Thebora Kompanioni 79915db774
build(deps): update dependencies and fix eslint violations (#1230)
* build(deps): update dependencies

 @tailwindcss/vite               4.2.2  →    4.2.4
 @tanstack/eslint-plugin-query  5.99.0  →  5.100.1
 @tanstack/react-query          5.99.0  →  5.100.1
 prettier-plugin-tailwindcss     0.7.2  →    0.7.3
 react-i18next                  17.0.2  →   17.0.4
 react-router-dom               7.14.1  →   7.14.2
 tailwindcss                     4.2.2  →    4.2.4
 typescript                      6.0.2  →    6.0.3
 @scure/bip32                    2.0.1  →    2.2.0
 @scure/bip39                    2.0.1  →    2.2.0
 eslint-plugin-react-hooks       7.0.1  →    7.1.1
 lucide-react                    1.8.0  →    1.9.0
 react-hook-form                7.72.1  →   7.73.1
 typescript-eslint              8.58.2  →   8.59.0

* chore(build): fix violations after eslint plugin updates

* chore: check window availability in useIsMobile

* build(deps): update dependencies

 @tanstack/eslint-plugin-query  5.100.1  →  5.100.6
 @tanstack/react-query          5.100.1  →  5.100.6
 prettier-plugin-tailwindcss      0.7.3  →    0.7.4
 react-i18next                   17.0.4  →   17.0.6
 typescript-eslint               8.59.0  →   8.59.1

* build(deps): update dependencies

 jsdom                        29.0.2  →  29.1.0
 lucide-react                  1.9.0  →  1.13.0
 prettier-plugin-tailwindcss   0.7.4  →   0.8.0
 react-hook-form              7.73.1  →  7.74.0

* build(ci): check format

* chore(ci): run pipeline for master and devel
2026-04-29 10:07:37 +02:00

56 lines
1.4 KiB
YAML

name: Build
on:
push:
branches: [master, devel]
pull_request:
branches: [master, devel]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['v24.11.1']
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup (Node.js ${{ matrix.node-version }})
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm clean-install --no-audit --no-fund
- name: Get installed Playwright version
id: playwright-version
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').packages['node_modules/@playwright/test'].version)")" >> $GITHUB_ENV
- name: Cache Playwright
uses: actions/cache@v3
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
- run: npx playwright install --with-deps
if: steps.playwright-cache.outputs.cache-hit != 'true'
- run: npx playwright install-deps
if: steps.playwright-cache.outputs.cache-hit != 'true'
- name: Lint
run: npm run lint
- name: Format check
run: npm run format:check
- name: Test
run: npm test
- name: Build
run: npm run build