github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/github/testdata/build-and-test/node.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 - name: Use Node.js ${{ matrix.node-version }} 15 spec: 16 uses: actions/setup-node@v3 17 with: 18 node-version: ${{ matrix.node-version }} 19 type: action 20 - spec: 21 run: npm ci 22 type: script 23 - spec: 24 run: npm run build --if-present 25 type: script 26 - spec: 27 run: npm test 28 type: script 29 strategy: 30 spec: 31 axis: 32 node-version: 33 - 10.x 34 - 12.x 35 - 14.x 36 - 15.x 37 type: matrix 38 type: ci 39 version: 1