chore: Enable caching for Rust and NPM to speed up CI

This commit is contained in:
spinline
2026-01-30 01:09:45 +03:00
parent f22fde2c95
commit b3500d3524

View File

@@ -13,7 +13,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
@@ -21,6 +26,9 @@ jobs:
targets: wasm32-unknown-unknown
components: rust-src
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Install Trunk
uses: jetli/trunk-action@v0.5.0
with: