jam/.github/workflows/build.yml
Thebora Kompanioni 945ece0df8
Some checks failed
Build / build (v26.3.0) (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Deploy Storybook / deploy (push) Has been cancelled
build(deps): update @vitejs/plugin-react to v6.0.2 (#1288)
* build(deps): update dependencies

 @radix-ui/react-accordion      1.2.13  →  1.2.14
 @radix-ui/react-avatar         1.1.12  →   1.2.0
 @radix-ui/react-checkbox        1.3.4  →   1.3.5
 @radix-ui/react-dialog         1.1.16  →  1.1.17
 @radix-ui/react-dropdown-menu  2.1.17  →  2.1.18
 @radix-ui/react-label           2.1.9  →  2.1.10
 @radix-ui/react-popover        1.1.16  →  1.1.17
 @radix-ui/react-radio-group     1.4.0  →   1.4.1
 @radix-ui/react-select          2.3.0  →   2.3.1
 @radix-ui/react-separator       1.1.9  →  1.1.10
 @radix-ui/react-slot            1.2.5  →   1.3.0
 @radix-ui/react-switch          1.3.0  →   1.3.1
 @radix-ui/react-tabs           1.1.14  →  1.1.15
 @radix-ui/react-tooltip         1.2.9  →  1.2.10
 @tailwindcss/vite               4.3.0  →   4.3.1
 eslint-plugin-react-refresh     0.5.2  →   0.5.3
 lucide-react                   1.17.0  →  1.20.0
 prettier                        3.8.3  →   3.8.4
 radix-ui                        1.5.0  →   1.6.0
 react-hook-form                7.77.0  →  7.79.0
 react-router-dom               7.17.0  →  7.18.0
 tailwindcss                     4.3.0  →   4.3.1
 typescript-eslint              8.60.1  →  8.61.1

* build(deps): update @vitejs/plugin-react to v6.0.2

* build: update node to v26.3.0

* build(deps): update vitest to v4.1.9

* build(deps): update @playwright/test to v1.61.0
2026-06-17 16:01:40 +05:30

62 lines
1.7 KiB
YAML

name: Build
on:
push:
branches: [master, devel]
pull_request:
branches: [master, devel]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['v26.3.0']
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup (Node.js ${{ matrix.node-version }})
uses: actions/setup-node@v6
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@v5
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 -- --coverage.enabled
- name: Build
run: npm run build
- name: Upload coverage report
# Set if: always() to also generate the report if tests are failing
# Only works if you set `reportOnFailure: true` in vite config
if: ${{ always() && hashFiles('coverage/coverage-summary.json') != '' }}
uses: davelosert/vitest-coverage-report-action@v2