mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
diflow CI
This commit is contained in:
30
.github/workflows/diflow.yaml
vendored
Normal file
30
.github/workflows/diflow.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# --------------------------------------------------------------------------------------------
|
||||||
|
# This file is generated. Do not edit manually
|
||||||
|
# --------------------------------------------------------------------------------------------
|
||||||
|
name: Diflow merge
|
||||||
|
'on':
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
merge:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Use Node.js 22.x
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 22.x
|
||||||
|
- name: Checkout dbgate/diflow
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: dbgate/diflow
|
||||||
|
path: diflow
|
||||||
|
- name: Diflow install
|
||||||
|
run: |
|
||||||
|
cd diflow
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
- name: Diflow run (don't push)
|
||||||
|
run: |
|
||||||
|
cd diflow
|
||||||
|
node dist/diflow.js https://github.com/dbgate/dbgate-diflow-config.git --no-push
|
||||||
33
workflow-templates/diflow.yaml
Normal file
33
workflow-templates/diflow.yaml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
name: Diflow merge
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
merge:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Use Node.js 22.x
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 22.x
|
||||||
|
|
||||||
|
- name: Checkout dbgate/diflow
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: dbgate/diflow
|
||||||
|
path: diflow
|
||||||
|
|
||||||
|
- name: Diflow install
|
||||||
|
run: |
|
||||||
|
cd diflow
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
- name: Diflow run (don't push)
|
||||||
|
run: |
|
||||||
|
cd diflow
|
||||||
|
node dist/diflow.js https://github.com/dbgate/dbgate-diflow-config.git --no-push
|
||||||
Reference in New Issue
Block a user