github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/github/testdata/publish-packages/yarn.yaml.golden (about)

     1  kind: pipeline
     2  spec:
     3    stages:
     4    - name: build
     5      spec:
     6        clone: {}
     7        platform:
     8          arch: amd64
     9          os: linux
    10        runtime:
    11          spec: {}
    12          type: cloud
    13        steps:
    14        - spec:
    15            uses: actions/setup-node@v3
    16            with:
    17              node-version: 16.x
    18              registry-url: https://registry.npmjs.org
    19              scope: '@octocat'
    20          type: action
    21        - spec:
    22            run: yarn
    23          type: script
    24        - spec:
    25            envs:
    26              NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
    27            run: yarn publish
    28          type: script
    29      type: ci
    30  version: 1