version: "1"

stages:
  go:
    steps:
      - name: go
        image: golang:1.13
        environment:
          CGO_ENABLED: '0'
          GOOS: linux
        commands:
          - go get ./...
          - go test ./...
  node:
    steps:
      - name: node
        image: amd64/node:10.0.0@sha256:5082d4db78ee2d24f72b25eb75537f2e19c49f04a595378d1ae8814d6f2fbf28
        commands:
          - npm install
          - npm test

