Skip to content

fix: cant modify seasonal reservation #2806

fix: cant modify seasonal reservation

fix: cant modify seasonal reservation #2806

Workflow file for this run

name: Pipeline
on:
push:
branches:
- main
# TODO tags is only needed on build jobs (not on test / lint)
# move the build jobs into separate workflow
tags:
- "v*"
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
SKIP_ENV_VALIDATION: "true"
REGISTRY: "ghcr.io"
jobs:
# Disabled because it broke, and no idea why.
#changed-packages:
# name: Determine which apps changed
# uses: ./.github/workflows/changed-packages.yml
lint-admin-ui:
name: Lint admin ui
runs-on: ubuntu-latest
#needs: [changed-packages]
# if: needs.changed-packages.outputs.admin_changed == 'true'
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- uses: dtinth/setup-github-actions-caching-for-turbo@v1
- name: Lint admin ui
run: |
pnpm tsc:check --filter=admin-ui...
pnpm lint --filter=admin-ui...
pnpm lint:css --filter=admin-ui...
build-admin-ui:
name: Build admin ui
runs-on: ubuntu-latest
#needs: [changed-packages]
# if: needs.changed-packages.outputs.admin_changed == 'true'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v3
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- uses: dtinth/setup-github-actions-caching-for-turbo@v1
- name: Build ui
run: pnpm build --filter admin-ui...
test-admin-ui:
name: Test admin ui
runs-on: ubuntu-latest
# needs: [changed-packages]
# if: needs.changed-packages.outputs.admin_changed == 'true'
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- uses: dtinth/setup-github-actions-caching-for-turbo@v1
- name: Test admin ui
run: pnpm test --filter=admin-ui...
lint-ui:
name: Lint ui
runs-on: ubuntu-latest
# needs: [changed-packages]
# if: needs.changed-packages.outputs.ui_changed == 'true'
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- uses: dtinth/setup-github-actions-caching-for-turbo@v1
- name: Lint ui
run: |
pnpm tsc:check --filter=ui...
pnpm lint --filter=ui...
pnpm lint:css --filter=ui...
build-ui:
name: Build ui
runs-on: ubuntu-latest
# needs: [changed-packages]
# if: needs.changed-packages.outputs.ui_changed == 'true'
env:
SKIP_ENV_VALIDATION: 'true'
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- uses: dtinth/setup-github-actions-caching-for-turbo@v1
- name: Build ui
run: pnpm build --filter ui...
test-ui:
name: Unit tests ui
runs-on: ubuntu-latest
# needs: [changed-packages]
# if: needs.changed-packages.outputs.ui_changed == 'true'
env:
SKIP_ENV_VALIDATION: 'true'
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- uses: dtinth/setup-github-actions-caching-for-turbo@v1
- name: Test ui
run: pnpm test --filter=ui...