From e9f9697baad14a342826001a07dbcda4c17c4b81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Elizondo?= Date: Tue, 16 Sep 2025 13:58:36 -0600 Subject: [PATCH 1/3] Updates github actions versions. --- .github/workflows/ci_build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml index d052f015..44abb420 100644 --- a/.github/workflows/ci_build.yml +++ b/.github/workflows/ci_build.yml @@ -16,20 +16,23 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cached-node-modules with: path: ~/work/0x-event-pipeline/0x-event-pipeline-evm/node_modules key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }} + restore-keys: | + ${{ runner.os }}-build-${{ env.cache-name }}- + - run: yarn install --frozen-lockfile - run: yarn prettier:ci - run: yarn build From 99318f7d20c998f777a0733d6fec09da3a3c6e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Elizondo?= Date: Tue, 16 Sep 2025 13:58:52 -0600 Subject: [PATCH 2/3] Upgrades Node to latest LTS. --- .github/workflows/ci_build.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml index 44abb420..ad790273 100644 --- a/.github/workflows/ci_build.yml +++ b/.github/workflows/ci_build.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [22.x] steps: - name: Checkout repository diff --git a/Dockerfile b/Dockerfile index e9c4d97c..c6458236 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Stage 1 - Build # -FROM node:18-alpine as build +FROM node:22-alpine as build WORKDIR /usr/src/app RUN apk add --update --no-cache \ @@ -19,7 +19,7 @@ RUN yarn build # Stage 2 - Runner # -FROM node:18-alpine +FROM node:22-alpine WORKDIR /usr/src/app COPY package.json tsconfig.json yarn.lock ./ From bc52629bc1350347daf8262529d533be559644cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20P=C3=A9rez?= Date: Tue, 21 Oct 2025 13:43:20 +0200 Subject: [PATCH 3/3] Update nvmrc file to Node 22 --- .nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nvmrc b/.nvmrc index 4a972748..b09ba46d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18.14.1 +v22.21.0