[ { kind: "pipeline", name: "odn-static-assets", platform: { os: "linux", arch: "amd64" }, "image_pull_secrets": ["dockerconfigjson"], steps: [ { name: "install-deps", image: "hub.docker.prod.walmart.com/circleci/node:12-browsers", commands: [ "sudo npm install", // sudo is required as circleci image uses non-root user ] }, { name: "test", image: "hub.docker.prod.walmart.com/circleci/node:12-browsers", commands: [ "npm test" ], depends_on: ["install-deps"] }, { name: "build", image: "hub.docker.prod.walmart.com/circleci/node:12-browsers", commands: [ "sudo npm run build" ], depends_on: ["install-deps"] } ] } ]