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 git@github.com:favoyang/verdaccio.git

# Checkout monorepo
git clone --single-branch --branch monorepo git@github.com:favoyang/monorepo.git

# Checkout verdaccio-storage-proxy
git clone git@github.com:openupm/verdaccio-storage-proxy.git

# Install npm libs
nvm use
npm install

# Build verdaccio
./build-all.sh

Run tests

nvm use
./run-tests.sh