mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 03:32:06 +00:00
Install npm assets in CI release build and pin Node
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user