github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/bitbucket/yaml/testdata/steps/example18.yaml.golden (about)

     1  {
     2      "pipelines": {
     3          "default": [
     4              {
     5                  "step": {
     6                      "name": "Build and test",
     7                      "script": [
     8                          "npm install",
     9                          "npm run build"
    10                      ],
    11                      "artifacts": [
    12                          "dist/**"
    13                      ]
    14                  }
    15              },
    16              {
    17                  "step": {
    18                      "name": "lint code and store results",
    19                      "script": [
    20                          "npm lint > results.txt"
    21                      ],
    22                      "artifacts": {
    23                          "download": false,
    24                          "paths": [
    25                              "results.txt"
    26                          ]
    27                      }
    28                  }
    29              },
    30              {
    31                  "step": {
    32                      "name": "Test code from build step stored in the dist/ directory",
    33                      "script": [
    34                          "npm test"
    35                      ]
    36                  }
    37              }
    38          ]
    39      }
    40  }