diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7b0186..e9bdb75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,20 +7,17 @@ on: jobs: ci: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x] env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} TURBO_TEAM: ${{ secrets.TURBO_TEAM }} steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 - - name: Install Node.js ${{ matrix.node-version }} + - name: Install Node.js uses: actions/setup-node@v4 with: cache: "pnpm" - node-version: ${{ matrix.node-version }} + node-version-file: ".node-version" - name: Install dependencies 📦 run: pnpm install - name: Lint 🎨 diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 538c4e5..4ca5154 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/setup-node@v4 with: cache: "pnpm" - node-version: "18" + node-version-file: ".node-version" - name: Install dependencies 📦 run: pnpm install - name: Build 👷‍♂️ diff --git a/.node-version b/.node-version index 3c03207..2bd5a0a 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -18 +22 diff --git a/package.json b/package.json index 3feebcc..72e1ad1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "gitmoji", "private": true, "engines": { - "node": "18", + "node": "22", "pnpm": ">=8" }, "scripts": { @@ -15,8 +15,5 @@ "prettier": "3.5.3", "turbo": "2.5.4" }, - "volta": { - "node": "16.15.0" - }, "packageManager": "pnpm@8.6.2" } diff --git a/packages/website/package.json b/packages/website/package.json index 9ec73c4..d408362 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -3,7 +3,7 @@ "private": true, "version": "1.0.0", "engines": { - "node": "18" + "node": "22" }, "scripts": { "build": "next build && next-sitemap", @@ -74,9 +74,6 @@ "singleQuote": true, "arrowParens": "always" }, - "volta": { - "node": "16.15.0" - }, "eslintConfig": { "parser": "@typescript-eslint/parser", "env": {