Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 7 additions & 4 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,27 @@ jobs:

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

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
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.14.1
v22.21.0
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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 ./
Expand Down
Loading