Install npm assets in CI release build and pin Node

This commit is contained in:
2026-11-10 08:47:46 +01:00
parent 7463784e03
commit fda52dd2e7
3 changed files with 11 additions and 1 deletions
+3 -1
View File
@@ -77,12 +77,14 @@ jobs:
_build
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-mix-prod-${{ hashFiles('mix.lock', 'mise.toml') }}
assets/node_modules
key: ${{ runner.os }}-mix-prod-${{ hashFiles('mix.lock', 'mise.toml', 'assets/package-lock.json') }}
restore-keys: |
${{ runner.os }}-mix-prod-
- run: mix local.hex --force
- run: mix local.rebar --force
- run: npm ci --prefix assets --no-audit --no-fund
- run: mix deps.get --only prod
- run: mix assets.setup
- run: mix assets.deploy