mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-05-04 02:47:03 +00:00
feat: add install-e2e-binaries input flag for frontend setup composite action (#878)
This commit is contained in:
committed by
GitHub
parent
82e4a9d0f4
commit
7d954cd5bf
14
.github/actions/setup-frontend/action.yml
vendored
14
.github/actions/setup-frontend/action.yml
vendored
@@ -1,8 +1,20 @@
|
||||
name: Setup Frontend
|
||||
description: Common setup for frontend jobs using pnpm
|
||||
description: |
|
||||
Common setup for frontend jobs using pnpm
|
||||
Skips heavy binary installs that are needed for e2e by default
|
||||
inputs:
|
||||
install-e2e-binaries:
|
||||
description: 'Install heavy e2e binary downloads'
|
||||
required: false
|
||||
default: 'false'
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- if: inputs.install-e2e-binaries == 'false'
|
||||
shell: bash
|
||||
run: |
|
||||
echo "CYPRESS_INSTALL_BINARY=0" >> $GITHUB_ENV
|
||||
echo "PUPPETEER_SKIP_DOWNLOAD=true" >> $GITHUB_ENV
|
||||
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
Reference in New Issue
Block a user