Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
de28f40
remove snippets files (#3054)
ckeshava Aug 6, 2025
9145e73
add release pipeline
shichengripple001 Jul 8, 2025
eccc513
debug build
shichengripple001 Jul 8, 2025
ae611bb
debug build
shichengripple001 Jul 8, 2025
4e784d2
debug build
shichengripple001 Jul 8, 2025
dd6cf59
fix package upload
shichengripple001 Jul 8, 2025
a1b476a
fix package upload
shichengripple001 Jul 8, 2025
9cd6680
enable test
shichengripple001 Jul 8, 2025
59a921c
retrieve package version from package.json
shichengripple001 Jul 10, 2025
ab3477e
retrieve package version from package.json
shichengripple001 Jul 10, 2025
c0d14ec
upload sbom file as artifacte
shichengripple001 Jul 10, 2025
dfebb29
fix sbom upload
shichengripple001 Jul 10, 2025
c4c5c99
change tag/release name format
shichengripple001 Jul 10, 2025
294619a
add release guide
shichengripple001 Jul 10, 2025
903a422
add release guide
shichengripple001 Jul 10, 2025
f25c9e4
add run faucet_test step
shichengripple001 Jul 11, 2025
f296ff7
update release.md
shichengripple001 Jul 11, 2025
dcef851
update owasp dependecy track url
shichengripple001 Jul 17, 2025
995ede1
correct git ref input
shichengripple001 Jul 22, 2025
6503bef
apply changes suggested by ai bot
shichengripple001 Jul 22, 2025
7c8ef23
apply changes suggested by ai bot
shichengripple001 Jul 22, 2025
8ff63b9
fix trivy version
shichengripple001 Jul 22, 2025
7874391
add dry-run as input
shichengripple001 Jul 22, 2025
201a579
update slack channel
shichengripple001 Jul 30, 2025
3fb5be1
enable provenance for signing package
shichengripple001 Aug 13, 2025
f726d87
enable provenance for signing package
shichengripple001 Aug 13, 2025
03814ca
Update .github/workflows/release.yml
shichengripple001 Aug 15, 2025
2c31ed3
Update .github/workflows/release.yml
shichengripple001 Aug 15, 2025
d0f60e5
Update .github/workflows/release.yml
shichengripple001 Aug 15, 2025
b8e59a7
Make tarball discovery deterministic
shichengripple001 Aug 15, 2025
4b868af
tighten pipeline permission
shichengripple001 Aug 15, 2025
2a2d34f
update environment name
shichengripple001 Aug 15, 2025
2d4a649
update permission
shichengripple001 Aug 15, 2025
26c0083
update permission
shichengripple001 Aug 15, 2025
6848ab7
address PR comments
shichengripple001 Aug 20, 2025
b49375b
release [email protected]
shichengripple001 Aug 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/faucet_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ on:
push:
branches: [main]
workflow_dispatch:
workflow_call:
inputs:
git_ref:
description: 'Git ref to checkout (branch, tag, or commit SHA)'
required: true
type: string


jobs:
faucet-test:
Expand All @@ -17,6 +24,9 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.git_ref || github.ref }}
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand Down
68 changes: 22 additions & 46 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: Node.js CI

env:
RIPPLED_DOCKER_IMAGE: rippleci/rippled:develop
GIT_REF: ${{ inputs.git_ref || github.ref }}

on:
push:
Expand All @@ -13,18 +14,26 @@ on:
- '**'
pull_request:
workflow_dispatch:
workflow_call:
inputs:
git_ref:
description: 'Git ref to checkout (branch, tag, or commit SHA)'
required: true
type: string

jobs:
build-and-lint:
runs-on: ubuntu-latest
timeout-minutes: 10

strategy:
matrix:
node-version: [22.x]

steps:
- uses: actions/checkout@v4
with:
ref: ${{ env.GIT_REF }}
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -65,6 +74,9 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: ${{ env.GIT_REF }}
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -105,6 +117,9 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: ${{ env.GIT_REF }}
fetch-depth: 0

- name: Run docker in background
run: |
Expand Down Expand Up @@ -156,6 +171,9 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: ${{ env.GIT_REF }}
fetch-depth: 0

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

steps:
- uses: actions/checkout@v4
with:
ref: ${{ env.GIT_REF }}
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand Down Expand Up @@ -269,48 +290,3 @@ jobs:
id: docs-artifact
if: steps.check-tag.outputs.published_version_tag == 'true'
uses: actions/deploy-pages@v4

snippets:
if: |
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
timeout-minutes: 10

strategy:
max-parallel: 1
matrix:
node-version: [20.x, 22.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Setup npm version 10
run: |
npm i -g npm@10 --registry=https://registry.npmjs.org

- name: Cache node modules
id: cache-nodemodules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# caching node_modules
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-deps-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-deps-${{ matrix.node-version }}-

- name: Install Dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm ci

- run: npm run build
- name: Run Snippets
run: (for i in packages/xrpl/snippets/src/*.ts; do echo "Running $i" && npx ts-node $i || exit 1; done)
Loading