Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…utomation into chore
  • Loading branch information
AntoTG committed Jul 29, 2024
2 parents 31196f2 + 98a6689 commit 1cf1940
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 5 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require("dotenv").config();
async function main() {

console.log("\n");
console.info("🚀 Lido Withdrawals Automation developed by Stakely.io - 2023 v1.0.1");
console.info("🚀 Lido Withdrawals Automation developed by Stakely.io - 2023 v1.0.2");
console.log("\n");
console.info("Step 1: Checking environment variables and asking for missing values...");

Expand Down Expand Up @@ -173,4 +173,4 @@ main();
process.on("unhandledRejection", (error) => {
console.error(error.message);
process.exit(1);
});
});
64 changes: 63 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lido-withdrawals-automation",
"version": "1.0.1",
"version": "1.0.2",
"description": "Lido Withdrawals Automation is a command-line tool that assists with the LIDO validators withdrawal process. The tool streamlines the procedure by fetching validators data, generating withdrawal messages, signing them with a remote signer, encrypting the signed messages, and saving them to the output folder.",
"main": "index.js",
"scripts": {
Expand All @@ -12,7 +12,7 @@
"license": "MIT",
"dependencies": {
"@chainsafe/bls-keystore": "^3.0.0",
"axios": "^1.3.4",
"axios": "^1.6.0",
"dotenv": "^16.0.3",
"ethers": "^6.2.3",
"inquirer": "^7.3.3",
Expand Down

0 comments on commit 1cf1940

Please sign in to comment.