mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* migrate from yarn to pnpm * feature-reporter: migrate from webpack to vite * remove unnecessary deps * bump pnpm to 10.32.1 * fix sitemap and favicon generator tools in docker * review and workflow fixes * fix pw test * update screenshots * update screenshot and add default maxDiffPixels value
21 lines
589 B
Bash
Executable File
21 lines
589 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Install build tools required for native dependencies
|
|
apt-get update && apt-get install -y \
|
|
build-essential \
|
|
python3 \
|
|
cmake \
|
|
pkg-config \
|
|
libssl-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Enable pnpm in the container (Playwright image has Node but not pnpm)
|
|
corepack enable
|
|
corepack prepare [email protected] --activate
|
|
|
|
# Set environment variables to help with native compilation
|
|
export npm_config_build_from_source=false
|
|
export npm_config_prefer_offline=true
|
|
export NODE_PATH=$(pwd)/node_modules_linux
|
|
|
|
pnpm install --modules-dir node_modules_linux |