singularci
Version:
SingularCI is a DSL transpiler used to generate CI/CD configuration files for existing CI platforms
37 lines (31 loc) • 614 B
YAML
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