singularci
Version:
SingularCI is a DSL transpiler used to generate CI/CD configuration files for existing CI platforms
31 lines (26 loc) • 596 B
YAML
pipeline:
targets:
- GitHub
- GitLab
variables:
- key: testKey
value: testValue
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