mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-20 11:46:11 +00:00
Make formatting-only governance deterministic in CI
Change-source: pulse-maintainer
This commit is contained in:
parent
02d6df9317
commit
8d573cd0ac
3 changed files with 31 additions and 0 deletions
13
.github/workflows/canonical-governance.yml
vendored
13
.github/workflows/canonical-governance.yml
vendored
|
|
@ -86,6 +86,19 @@ jobs:
|
|||
cache: true
|
||||
cache-dependency-path: repos/pulse/go.sum
|
||||
|
||||
- name: Set up Node.js for frontend governance
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: npm
|
||||
cache-dependency-path: repos/pulse/frontend-modern/package-lock.json
|
||||
|
||||
- name: Install locked frontend governance dependencies
|
||||
working-directory: repos/pulse/frontend-modern
|
||||
env:
|
||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
|
||||
run: npm ci --ignore-scripts --no-audit --no-fund
|
||||
|
||||
- name: Stub embedded frontend assets for Go tests
|
||||
run: bash scripts/ensure_test_assets.sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue