1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 03:33:30 +00:00

Desktop CI build in developer mode for PR artifacts

This commit is contained in:
neuronull
2025-12-05 13:55:10 -07:00
parent 9f1496b218
commit 97778d70a7

View File

@@ -588,7 +588,9 @@ jobs:
run: node build.js cross-platform "$env:MODE"
- name: Build
run: npm run build
env:
BUILD_MODE: ${{ github.event_name == 'workflow_call' && 'build' || 'build:dev' }}
run: npm run "$env:BUILD_MODE"
- name: Pack
if: ${{ needs.setup.outputs.has_secrets == 'false' }}
@@ -853,7 +855,9 @@ jobs:
run: node build.js cross-platform "$env:MODE"
- name: Build
run: npm run build
env:
BUILD_MODE: ${{ github.event_name == 'workflow_call' && 'build' || 'build:dev' }}
run: npm run "$env:BUILD_MODE"
- name: Pack
if: ${{ needs.setup.outputs.has_secrets == 'false' }}
@@ -1211,7 +1215,9 @@ jobs:
run: node build.js cross-platform "$MODE"
- name: Build application (dev)
run: npm run build
env:
BUILD_MODE: ${{ github.event_name == 'workflow_call' && 'build' || 'build:dev' }}
run: npm run "$BUILD_MODE"
browser-build:
name: Browser Build
@@ -1436,7 +1442,9 @@ jobs:
- name: Build
if: steps.build-cache.outputs.cache-hit != 'true'
run: npm run build
env:
BUILD_MODE: ${{ github.event_name == 'workflow_call' && 'build' || 'build:dev' }}
run: npm run "$BUILD_MODE"
- name: Download Browser artifact
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
@@ -1719,7 +1727,9 @@ jobs:
- name: Build
if: steps.build-cache.outputs.cache-hit != 'true'
run: npm run build
env:
BUILD_MODE: ${{ github.event_name == 'workflow_call' && 'build' || 'build:dev' }}
run: npm run "$BUILD_MODE"
- name: Download Browser artifact
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0