Skip to content

Bump webpack from 5.90.3 to 5.94.0 in /client #264

Bump webpack from 5.90.3 to 5.94.0 in /client

Bump webpack from 5.90.3 to 5.94.0 in /client #264

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
jobs:
test-server:
name: Test server
runs-on: ubuntu-latest
strategy:
matrix:
test-args:
- ""
- RELEASE=1
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: hecrj/setup-rust-action@v2
with:
rust-version: stable
profile: minimal
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Update NPM
run: npm install npm@latest -g
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ matrix.test-args }}
- name: Build client
run: SOURCING=1 . run && ${{ matrix.test-args }} build_client
- name: Compile and run tests
run: TESTS=server ${{ matrix.test-args }} ./test
test-client:
name: Test client
runs-on: ubuntu-latest
strategy:
matrix:
test-args:
- ""
- RELEASE=1
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Update NPM
run: npm install npm@latest -g
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/client/package-lock.json') }}-${{ matrix.test-args }}
- name: Compile and run tests
run: TESTS=client ${{ matrix.test-args }} ./test