Skip to content

Bump the dev-dependencies group with 6 updates #643

Bump the dev-dependencies group with 6 updates

Bump the dev-dependencies group with 6 updates #643

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache cargo build
uses: actions/cache@v4
with:
path: wasm/target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt, clippy
- name: Install wasm-pack
uses: jetli/[email protected]
with:
version: 'latest'
- name: Install cargo-deny
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-deny
version: "^0.14"
# `--force` flag is required because of pug@3 conflicting with pug-loader peer dependency.
# pug@3 works fine in practice.
- run: npm ci --force
# Rust-related checks
- name: Format
run: npm run lint:wasm:fmt
- name: Clippy
run: cargo clippy --manifest-path wasm/Cargo.toml --all-targets -- -D warnings
- name: Check dependencies
run: (cd wasm; cargo deny check)
- name: Tests
run: npm run test:wasm -- --chrome --firefox
# Front-end checks (`npm run build` should be the first one, it builds WASM)
- run: npm run build
- run: npm run lint:js
- run: npm run test:js