Remove layered boolean

This commit is contained in:
Johannes Marbach
2026-10-02 13:07:09 +02:00
parent bd8c3142a6
commit ca6319f06d
5 changed files with 6 additions and 25 deletions
-10
View File
@@ -14,11 +14,6 @@ on:
description: The build mode for vite. Must be either 'development' or 'production'
required: false
default: production
layered:
type: boolean
description: Build against the matching branch of matrix-js-sdk (if any) instead of the locked commit.
required: false
default: false
secrets:
SENTRY_ORG:
required: true
@@ -48,11 +43,6 @@ jobs:
cache: "pnpm"
node-version-file: ".node-version"
- name: Install dependencies
if: ${{ !inputs.layered }}
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: "pnpm install --frozen-lockfile --ignore-pnpmfile"
- name: Install dependencies (layered)
if: ${{ inputs.layered }}
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: "scripts/layered.sh --ignore-pnpmfile"
env:
-3
View File
@@ -15,7 +15,6 @@ jobs:
package: full
vite_app_version: ${{ github.event.release.tag_name || github.sha }}
build_mode: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'development build') && 'development' || 'production' }}
layered: ${{ github.event_name == 'pull_request' }}
secrets:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
@@ -66,7 +65,6 @@ jobs:
package: embedded
vite_app_version: ${{ github.event.release.tag_name || github.sha }}
build_mode: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'development build') && 'development' || 'production' }}
layered: ${{ github.event_name == 'pull_request' }}
secrets:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
@@ -81,7 +79,6 @@ jobs:
package: sdk
vite_app_version: ${{ github.event.release.tag_name || github.sha }}
build_mode: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'development build') && 'development' || 'production' }}
layered: ${{ github.event_name == 'pull_request' }}
secrets:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
with:
cache: "pnpm"
node-version-file: ".node-version"
- name: Install dependencies (layered)
- name: Install dependencies
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: "scripts/layered.sh --ignore-pnpmfile"
env:
-9
View File
@@ -20,11 +20,6 @@ jobs:
cache: "pnpm"
node-version-file: ".node-version"
- name: Install dependencies
if: github.event_name != 'pull_request'
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: "pnpm install --frozen-lockfile --ignore-pnpmfile"
- name: Install dependencies (layered)
if: github.event_name == 'pull_request'
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: "scripts/layered.sh --ignore-pnpmfile"
env:
@@ -65,11 +60,7 @@ jobs:
cache: "pnpm"
node-version-file: ".node-version"
- name: Install dependencies
if: github.event_name != 'pull_request'
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: pnpm install --frozen-lockfile --ignore-pnpmfile
- name: Install dependencies (layered)
if: github.event_name == 'pull_request'
run: scripts/layered.sh --ignore-pnpmfile
env:
PR_HEAD_REPO_OWNER: ${{ github.event.pull_request.head.repo.owner.login }}