Skip to content

openupm/verdaccio-test

Repository files navigation

Verdaccio Tests for OpenUPM

Requirements

  • npm and yarn
  • bats
    git clone https://github.com/sstephenson/bats.git
    cd bats
    ./install.sh /usr/local
  • minio
    wget https://dl.min.io/server/minio/release/linux-amd64/minio
    chmod +x minio
    

Build

# Checkout verdaccio
git clone --single-branch --branch openupm [email protected]:favoyang/verdaccio.git

# Checkout monorepo
git clone --single-branch --branch monorepo [email protected]:favoyang/monorepo.git

# Checkout verdaccio-storage-proxy
git clone [email protected]:openupm/verdaccio-storage-proxy.git

# Install npm libs
nvm use
npm install

# Build verdaccio
./build-all.sh

Run tests

nvm use
./run-tests.sh