targets:
  - GitHub
  - GitLab

variables:
  - key: testKey
    value: testValue

triggers: 
  trigger_types:
    - push
  branches:
    - master
    - main

stages:

  - stage:
      name: lintstage
      runs_on: ubuntu-latest
      jobs:
        - name: Lint
          run: 
            - apt-get update -y
            - apt-get install -y nodejs
            - npm install
            - npm run lint
  
  - stage:
      name: buildstage
      runs_on: ubuntu-latest
      needs: [lintstage]
      jobs:
        - name: build
          run: 
            - echo build done
    