Skip to content
Merged
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
9 changes: 6 additions & 3 deletions .github/workflows/linea-ens-contracts-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 18
- name: Use Node.js from .nvmrc
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: '.nvmrc'
cache: 'yarn'
cache-dependency-path: 'packages/linea-ens-contracts/yarn.lock'

- run: yarn install --immutable --immutable-cache --check-cache
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache

- name: Run test
run: yarn test
9 changes: 7 additions & 2 deletions .github/workflows/linea-ens-resolver-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,17 @@ jobs:
pnpm-workspace.yaml
pnpm-lock.yaml
package.json
.nvmrc
sparse-checkout-cone-mode: false

- name: Setup pnpm
uses: pnpm/[email protected]
uses: pnpm/action-setup@v4

- name: Use Node.js from .nvmrc
uses: actions/setup-node@v4
with:
version: 10.10.0
node-version-file: '.nvmrc'
cache: 'pnpm'

- name: Install Bun
run: |
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22.21.1
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ contract TestL1 is EVMFetchTarget {

## Requirements

- [Node.js](https://nodejs.org/en/download/package-manager) v18.x.
- [pnpm](https://pnpm.io/installation) v9.x
- [Yarn](https://classic.yarnpkg.com/lang/en/docs/install)
- [Node.js](https://nodejs.org/en/download/package-manager) v22.21.1+
- [pnpm](https://pnpm.io/installation) v10.26.0+
- [Yarn](https://classic.yarnpkg.com/lang/en/docs/install) (for linea-ens-contracts only)
- [Docker](https://docs.docker.com/engine/install/)
- [docker-compose](https://docs.docker.com/compose/install/)

Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
"name": "linea-ens",
"version": "1.0.0",
"private": true,
"description": "Linea ENS monorepo"
"description": "Linea ENS monorepo",
"packageManager": "[email protected]",
"engines": {
"node": ">=22.21.1",
"pnpm": ">=10.26.0"
}
}
4 changes: 2 additions & 2 deletions packages/linea-ens-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22-alpine AS base
FROM node:22.21.1-alpine AS base

ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
Expand Down Expand Up @@ -37,7 +37,7 @@ COPY packages/linea-ens-contracts/ ./packages/linea-ens-contracts/
WORKDIR /app/packages/linea-ens-app
RUN pnpm build

FROM node:22-alpine AS runner
FROM node:22.21.1-alpine AS runner
WORKDIR /app

ENV NODE_ENV=production
Expand Down
6 changes: 3 additions & 3 deletions packages/linea-ens-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,15 @@ the [requirements](../../README.md#requirements) if you encounter an error. To v

```bash
node --version
v18.20.4
v22.21.1
```

Node Version Manager (nvm) can be used to manage multiple versions of Node.js if you find you are not in the correct
version of Node.
version of Node. The repository includes a `.nvmrc` file that specifies the required version.

```bash
pnpm --version
9.4.0
10.26.0
```

```bash
Expand Down
Loading
Loading