mirror of
https://github.com/carloscuesta/gitmoji.git
synced 2025-12-08 20:14:12 +00:00
🔧 Update node-version to 22 (#1935)
* 🔧 Update node-version * ♻️ Use `.node-version` file in gh-actions * 🔧 Update node-version in package.json
This commit is contained in:
parent
f0e5471ce5
commit
a2ef0d1f44
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -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 🎨
|
||||
|
||||
2
.github/workflows/npm-publish.yml
vendored
2
.github/workflows/npm-publish.yml
vendored
@ -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 👷♂️
|
||||
|
||||
@ -1 +1 @@
|
||||
18
|
||||
22
|
||||
|
||||
@ -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"
|
||||
}
|
||||
|
||||
@ -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": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user