Skip to content

Commit df0e026

Browse files
gogonukgogonuk
andauthored
mejora(ci): Añade CI, Dependabot y corrige dependencias (#3)
- Añade un workflow de GitHub Actions para build y test automáticos. - Configura Dependabot para el monitoreo continuo de vulnerabilidades. - Añade un badge de estado del CI al README. - Resuelve conflictos de dependencias en 'blockchain' y 'frontend'. - Elimina todas las vulnerabilidades de dependencias en 'frontend'. Co-authored-by: gogonuk <[email protected]>
1 parent 0e9ca06 commit df0e026

File tree

124,710 files changed

+9190706
-320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124,710 files changed

+9190706
-320
lines changed

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
updates:
3+
# Enable version updates for npm in the frontend directory
4+
- package-ecosystem: "npm"
5+
directory: "/frontend"
6+
schedule:
7+
interval: "weekly"
8+
labels:
9+
- "npm"
10+
- "dependencies"
11+
- "frontend"
12+
13+
# Enable version updates for npm in the blockchain directory
14+
- package-ecosystem: "npm"
15+
directory: "/blockchain"
16+
schedule:
17+
interval: "weekly"
18+
labels:
19+
- "npm"
20+
- "dependencies"
21+
- "blockchain"

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
build-and-test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-node@v4
9+
with:
10+
node-version: '20'
11+
- name: Install frontend dependencies and build
12+
run: |
13+
cd frontend
14+
npm ci
15+
npm run build
16+
- name: Install blockchain dependencies and test
17+
run: |
18+
cd blockchain
19+
npm ci
20+
npx hardhat test

.secrets.baseline

Whitespace-only changes.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# react-solidity-hardhat template
22

3+
[![CI](https://github.com/ecolab-web3/latin-hack-project/actions/workflows/ci.yml/badge.svg)](https://github.com/ecolab-web3/latin-hack-project/actions/workflows/ci.yml)
4+
35
This template sets up a combination of Solidity smart contracts and a React front-end app that interacts with these
46
smart contracts.
57
This template includes:

0 commit comments

Comments
 (0)