github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/github/testdata/publish-packages/npm.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          type: action
    20        - spec:
    21            run: npm ci
    22          type: script
    23        - spec:
    24            envs:
    25              NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
    26            run: npm publish
    27          type: script
    28      type: ci
    29  version: 1