github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/bitbucket/yaml/testdata/steps/example19.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                      }
    25                  }
    26              },
    27              {
    28                  "step": {
    29                      "name": "Test code from build step stored in the dist/ directory",
    30                      "script": [
    31                          "npm test"
    32                      ]
    33                  }
    34              }
    35          ]
    36      }
    37  }