mirror of
https://github.com/go-vikunja/vikunja.git
synced 2025-12-05 19:16:51 -06:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-node](https://redirect.github.com/actions/setup-node) | action | digest | `2028fbc` -> `395ad32` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/go-vikunja/vikunja). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xOS45IiwidXBkYXRlZEluVmVyIjoiNDIuMTkuOSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
name: Setup Frontend
|
|
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
|
|
echo "PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1" >> $GITHUB_ENV
|
|
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
|
|
with:
|
|
run_install: false
|
|
package_json_file: frontend/package.json
|
|
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
|
|
with:
|
|
node-version-file: frontend/.nvmrc
|
|
cache: 'pnpm'
|
|
cache-dependency-path: frontend/pnpm-lock.yaml
|
|
- name: Install dependencies
|
|
working-directory: frontend
|
|
run: pnpm install --frozen-lockfile --prefer-offline
|
|
shell: bash
|