50 lines
983 B
YAML
50 lines
983 B
YAML
name: "@luzzle/web.jobs"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'packages/web/jobs/**'
|
|
- 'apps/core/**'
|
|
- '.github/workflows/web-jobs.yml'
|
|
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'packages/web/jobs/**'
|
|
- 'apps/core/**'
|
|
- '.github/workflows/web-jobs.yml'
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v6
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: '26'
|
|
cache: 'pnpm'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Build core
|
|
run: pnpm --filter @luzzle/core build
|
|
|
|
- name: Build
|
|
run: pnpm --filter @luzzle/web.jobs build
|
|
|
|
- name: Lint
|
|
run: pnpm --filter @luzzle/web.jobs lint
|
|
|
|
- name: Test
|
|
run: pnpm --filter @luzzle/web.jobs test
|