mirror of
https://github.com/selfxyz/self.git
synced 2026-01-10 23:27:56 -05:00
chore: add Node version file (#853)
This commit is contained in:
2
.github/actions/yarn-install/action.yml
vendored
2
.github/actions/yarn-install/action.yml
vendored
@@ -21,7 +21,7 @@ runs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: "yarn"
|
||||
cache-dependency-path: yarn.lock
|
||||
|
||||
|
||||
2
.github/workflows/circuits-build.yml
vendored
2
.github/workflows/circuits-build.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
||||
# TODO(): Use caching
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
||||
4
.github/workflows/circuits.yml
vendored
4
.github/workflows/circuits.yml
vendored
@@ -35,10 +35,10 @@ jobs:
|
||||
nasm \
|
||||
nlohmann-json3-dev
|
||||
|
||||
- name: Set Node.js 18.x
|
||||
- name: Set Node.js 22.x
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 22
|
||||
- name: Setup Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
|
||||
4
.github/workflows/contracts.yml
vendored
4
.github/workflows/contracts.yml
vendored
@@ -22,10 +22,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set Node.js 20.x
|
||||
- name: Set Node.js 22.x
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
- name: Install Dependencies
|
||||
uses: ./.github/actions/yarn-install
|
||||
- name: Prettier Check - Code Formatting
|
||||
|
||||
2
.github/workflows/mobile-bundle-analysis.yml
vendored
2
.github/workflows/mobile-bundle-analysis.yml
vendored
@@ -1,7 +1,7 @@
|
||||
name: Mobile Bundle Analysis
|
||||
|
||||
env:
|
||||
NODE_VERSION: 18
|
||||
NODE_VERSION: 22
|
||||
RUBY_VERSION: 3.2
|
||||
JAVA_VERSION: 17
|
||||
WORKSPACE: ${{ github.workspace }}
|
||||
|
||||
2
.github/workflows/mobile-ci.yml
vendored
2
.github/workflows/mobile-ci.yml
vendored
@@ -1,7 +1,7 @@
|
||||
name: Mobile CI
|
||||
env:
|
||||
# Build environment versions
|
||||
NODE_VERSION: 18
|
||||
NODE_VERSION: 22
|
||||
RUBY_VERSION: 3.2
|
||||
JAVA_VERSION: 17
|
||||
# Path configuration
|
||||
|
||||
4
.github/workflows/mobile-deploy.yml
vendored
4
.github/workflows/mobile-deploy.yml
vendored
@@ -2,7 +2,7 @@ name: Mobile Deploy
|
||||
|
||||
env:
|
||||
# Build environment versions
|
||||
NODE_VERSION: 18
|
||||
NODE_VERSION: 22
|
||||
RUBY_VERSION: 3.2
|
||||
JAVA_VERSION: 17
|
||||
ANDROID_API_LEVEL: 35
|
||||
@@ -796,7 +796,7 @@ jobs:
|
||||
inputs.test_mode != true &&
|
||||
(needs.build-ios.result == 'success' || needs.build-android.result == 'success')
|
||||
env:
|
||||
NODE_VERSION: 18
|
||||
NODE_VERSION: 22
|
||||
APP_PATH: ${{ github.workspace }}/app
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
6
.github/workflows/mobile-e2e.yml
vendored
6
.github/workflows/mobile-e2e.yml
vendored
@@ -2,7 +2,7 @@ name: Mobile E2E
|
||||
|
||||
env:
|
||||
# Build environment versions
|
||||
NODE_VERSION: 18
|
||||
NODE_VERSION: 22
|
||||
JAVA_VERSION: 17
|
||||
ANDROID_API_LEVEL: 33
|
||||
ANDROID_NDK_VERSION: 27.0.11718014
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- run: corepack enable
|
||||
- run: corepack prepare yarn@4.6.0 --activate
|
||||
- name: Cache Yarn dependencies
|
||||
@@ -159,7 +159,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- run: corepack enable
|
||||
- run: corepack prepare yarn@4.6.0 --activate
|
||||
- name: Cache Yarn dependencies
|
||||
|
||||
6
.github/workflows/npm-publish.yml
vendored
6
.github/workflows/npm-publish.yml
vendored
@@ -52,7 +52,7 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
node-version: "22"
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
|
||||
- name: Install Dependencies
|
||||
@@ -82,7 +82,7 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
node-version: "22"
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
|
||||
- name: Install Dependencies
|
||||
@@ -111,7 +111,7 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
node-version: "22"
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Dependencies
|
||||
|
||||
@@ -67,6 +67,8 @@ We provide bounties for new and interesting applications using Self.
|
||||
|
||||
## Development Setup
|
||||
|
||||
This project requires **Node.js 22.x**. Use the included `.nvmrc` to match the version.
|
||||
|
||||
Run `yarn install` to bootstrap dependencies and husky hooks.
|
||||
Gitleaks will scan staged changes on each commit via `yarn gitleaks`.
|
||||
|
||||
|
||||
@@ -189,6 +189,6 @@
|
||||
"vite": "^7.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
"node": ">=22 <23"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,5 +82,8 @@
|
||||
"ts-mocha": "^10.0.0",
|
||||
"tsconfig-paths": "^4.2.0",
|
||||
"tsx": "^4.20.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22 <23"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -377,5 +377,8 @@
|
||||
"ts-mocha": "^10.0.0",
|
||||
"tsup": "^8.5.0",
|
||||
"typescript": "^5.4.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22 <23"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -121,5 +121,8 @@
|
||||
"typechain": "^8.3.2",
|
||||
"typescript": "^5.1.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22 <23"
|
||||
},
|
||||
"packageManager": "yarn@4.5.3"
|
||||
}
|
||||
|
||||
@@ -26,5 +26,8 @@
|
||||
"patch-package": "^8.0.0",
|
||||
"postinstall-postinstall": "^2.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22 <23"
|
||||
},
|
||||
"packageManager": "yarn@4.6.0"
|
||||
}
|
||||
|
||||
@@ -75,6 +75,9 @@
|
||||
"typechain": "^8.3.2",
|
||||
"typescript": "^5.4.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22 <23"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
|
||||
@@ -76,6 +76,9 @@
|
||||
"tsup": "^8.5.0",
|
||||
"typescript": "^5.4.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22 <23"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"lottie-react": "^2.4.0",
|
||||
"react": "^18.0.0",
|
||||
|
||||
Reference in New Issue
Block a user