mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
chore(deps): update node.js to v22 (#182)
Fix #178 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
b94a25c963
commit
b5b3aa02c0
11 files changed
+14170
-11224
No files matched your search
@@ -20,7 +20,7 @@ jobs:
|
||||
pnpm --version
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
pnpm --version
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
pnpm --version
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
pnpm --version
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Get Playwright version
|
||||
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 22
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
name: Install pnpm
|
||||
|
||||
@@ -84,7 +84,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
+1
-1
@@ -363,7 +363,7 @@
|
||||
"@types/morsee": "^1.0.2",
|
||||
"@types/nanoid-dictionary": "^4.2.3",
|
||||
"@types/netmask": "^2.0.5",
|
||||
"@types/node": "^18.19.120",
|
||||
"@types/node": "^22.0.0",
|
||||
"@types/node-forge": "^1.3.13",
|
||||
"@types/potrace": "^2.1.5",
|
||||
"@types/punycode": "^2.1.4",
|
||||
|
||||
Generated
+14157
-11211
File diff suppressed because it is too large.
Load diff
@@ -14,7 +14,7 @@ Specifies the base image.
|
||||
|
||||
```Dockerfile
|
||||
FROM ubuntu:20.04
|
||||
FROM node:18-alpine
|
||||
FROM node:22-alpine
|
||||
```
|
||||
|
||||
### `LABEL`
|
||||
@@ -138,7 +138,7 @@ ONBUILD COPY . /app
|
||||
## 🧪 Example Dockerfile
|
||||
|
||||
```Dockerfile
|
||||
FROM node:18-alpine
|
||||
FROM node:22-alpine
|
||||
|
||||
LABEL maintainer="guillaume@example.com"
|
||||
|
||||
@@ -189,7 +189,7 @@ Dockerfile
|
||||
|
||||
```Dockerfile
|
||||
# Stage 1: Build
|
||||
FROM node:18-alpine AS builder
|
||||
FROM node:22-alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
@@ -243,7 +243,7 @@ Multistage builds help you avoid bloated images:
|
||||
|
||||
```Dockerfile
|
||||
# Build stage
|
||||
FROM node:18 AS build
|
||||
FROM node:22 AS build
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
Reference in new issue
Block a user