Skip to content

Commit 5c816e4

Browse files
Release pipeline (#3039)
* Set up release pipeline as described by RELEASE.md --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 9f61549 commit 5c816e4

File tree

4 files changed

+490
-1
lines changed

4 files changed

+490
-1
lines changed

.github/workflows/faucet_test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ on:
44
push:
55
branches: [main]
66
workflow_dispatch:
7+
workflow_call:
8+
inputs:
9+
git_ref:
10+
description: 'Git ref to checkout (branch, tag, or commit SHA)'
11+
required: true
12+
type: string
13+
714

815
jobs:
916
faucet-test:
@@ -17,6 +24,9 @@ jobs:
1724

1825
steps:
1926
- uses: actions/checkout@v4
27+
with:
28+
ref: ${{ inputs.git_ref || github.ref }}
29+
fetch-depth: 0
2030
- name: Use Node.js ${{ matrix.node-version }}
2131
uses: actions/setup-node@v4
2232
with:

.github/workflows/nodejs.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ name: Node.js CI
55

66
env:
77
RIPPLED_DOCKER_IMAGE: rippleci/rippled:develop
8+
GIT_REF: ${{ inputs.git_ref || github.ref }}
89

910
on:
1011
push:
@@ -13,18 +14,26 @@ on:
1314
- '**'
1415
pull_request:
1516
workflow_dispatch:
17+
workflow_call:
18+
inputs:
19+
git_ref:
20+
description: 'Git ref to checkout (branch, tag, or commit SHA)'
21+
required: true
22+
type: string
1623

1724
jobs:
1825
build-and-lint:
1926
runs-on: ubuntu-latest
2027
timeout-minutes: 10
21-
2228
strategy:
2329
matrix:
2430
node-version: [22.x]
2531

2632
steps:
2733
- uses: actions/checkout@v4
34+
with:
35+
ref: ${{ env.GIT_REF }}
36+
fetch-depth: 0
2837
- name: Use Node.js ${{ matrix.node-version }}
2938
uses: actions/setup-node@v4
3039
with:
@@ -65,6 +74,9 @@ jobs:
6574

6675
steps:
6776
- uses: actions/checkout@v4
77+
with:
78+
ref: ${{ env.GIT_REF }}
79+
fetch-depth: 0
6880
- name: Use Node.js ${{ matrix.node-version }}
6981
uses: actions/setup-node@v4
7082
with:
@@ -105,6 +117,9 @@ jobs:
105117

106118
steps:
107119
- uses: actions/checkout@v4
120+
with:
121+
ref: ${{ env.GIT_REF }}
122+
fetch-depth: 0
108123

109124
- name: Run docker in background
110125
run: |
@@ -156,6 +171,9 @@ jobs:
156171

157172
steps:
158173
- uses: actions/checkout@v4
174+
with:
175+
ref: ${{ env.GIT_REF }}
176+
fetch-depth: 0
159177

160178
- name: Use Node.js ${{ matrix.node-version }}
161179
uses: actions/setup-node@v4
@@ -206,6 +224,9 @@ jobs:
206224

207225
steps:
208226
- uses: actions/checkout@v4
227+
with:
228+
ref: ${{ env.GIT_REF }}
229+
fetch-depth: 0
209230

210231
- name: Use Node.js ${{ matrix.node-version }}
211232
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)