chore(deps-dev): bump @types/node from 20.11.0 to 26.4.0 in /vollcrypt-files/node #125
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Vollcrypt Files CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| paths: | |
| - "vollcrypt-files/**" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - ".github/workflows/ci-files.yml" | |
| pull_request: | |
| branches: ["main"] | |
| paths: | |
| - "vollcrypt-files/**" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - ".github/workflows/ci-files.yml" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test-core: | |
| name: Test Files Core Crate | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Run Core Tests | |
| run: cargo test -p vollcrypt-files-core | |
| test-supporting-crates: | |
| name: Test Files Supporting Crates | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - name: Test adversarial and stress crates | |
| env: | |
| VOLLCRYPT_STABILITY_SECONDS: "30" | |
| run: cargo test -p vollcrypt-files-adversarial -p vollcrypt-files-stress | |
| - name: Lint all Files targets | |
| run: cargo clippy -p vollcrypt-files-core -p vollcrypt-files-node -p vollcrypt-files-wasm -p vollcrypt-files-bench -p vollcrypt-files-adversarial -p vollcrypt-files-stress --all-targets -- -D warnings | |
| build-node: | |
| name: Build Node Bindings | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 20 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install dependencies | |
| run: cd vollcrypt-files/node && npm install | |
| - name: Build Node Bindings | |
| run: cd vollcrypt-files/node && npm run build | |
| - name: Test Node Bindings | |
| run: cd vollcrypt-files/node && npm test | |
| build-wasm: | |
| name: Build WASM Bindings | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 20 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: wasm32-unknown-unknown | |
| - name: Install wasm-pack | |
| run: cargo install wasm-pack --version 0.14.0 --locked | |
| - name: Build WASM Bindings | |
| run: wasm-pack build vollcrypt-files/wasm --target web --out-dir pkg | |
| - name: Test WASM Bindings | |
| run: wasm-pack test --node vollcrypt-files/wasm |