version: 0.2 env: variables: NODE_OPTIONS: "--max-old-space-size=4096" NPM_CONFIG_UNSAFE_PERM: true phases: install: commands: - n 18 - npm ci --unsafe-perm - |- if [ "$PUBLISH_LOCAL" = "true" ]; then npm run build fi build: commands: - node -v - |- if [ "$PUBLISH_LOCAL" = "true" ]; then npm run verdaccio-publish fi - npm run verdaccio-node-decrypt - npm run verdaccio-node-encrypt