Merge branch 'main' into mntor-3383
This commit is contained in:
Коммит
17934c84f1
|
@ -12,7 +12,7 @@ jobs:
|
|||
- name: Use Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22.6.x'
|
||||
node-version: '20.9.x'
|
||||
- run: npm ci
|
||||
- run: npm run build-glean
|
||||
# Verify that the build (incl. type-checking) succeeds
|
||||
|
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22.6.x
|
||||
node-version: 20.9.x
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22.6.x
|
||||
node-version: 20.9.x
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
- name: Use Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22.6.x'
|
||||
node-version: '20.9.x'
|
||||
- run: npm ci
|
||||
- run: npm run build-glean
|
||||
- run: npm run build-nimbus
|
||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
- name: Use Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22.6.x'
|
||||
node-version: '20.9.x'
|
||||
- run: npm ci
|
||||
- run: npm run build-glean
|
||||
- run: npm test
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:22.6-alpine
|
||||
FROM node:20.9-alpine
|
||||
|
||||
RUN addgroup -g 10001 app && \
|
||||
adduser -D -G app -h /app -u 10001 app
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:22.6-alpine
|
||||
FROM node:20.9-alpine
|
||||
|
||||
RUN addgroup -g 10001 app && \
|
||||
adduser -D -G app -h /app -u 10001 app
|
||||
|
|
|
@ -56,7 +56,7 @@ Alpine Linux distribution with the latest version of Node.
|
|||
|
||||
GitHub's Dependabot only updates `Dockerfile`, but the Node version is specified in many
|
||||
different config files. The PR that Dependabot opens will always fail the lint check because
|
||||
the script `scripts/check-node-version-alignment.js` will fail if the Node version isn't
|
||||
the script `./src/scripts/build/checkNodeVersionAlignment.js` will fail if the Node version isn't
|
||||
set consistently across all config files.
|
||||
|
||||
1. clone the branch that Dependabot creates
|
||||
|
@ -70,7 +70,7 @@ git clone dependabot/docker/node-22.6-alpine
|
|||
2. Run the Node version alignment script and fix any problems it finds
|
||||
|
||||
```sh
|
||||
node scripts/check-node-version-alignment.js
|
||||
node ./src/scripts/build/checkNodeVersionAlignment.js
|
||||
```
|
||||
|
||||
3. Commit and push to branch Dependabot opened
|
||||
|
|
|
@ -21,6 +21,6 @@ build({
|
|||
format: "esm",
|
||||
outdir: "dist/scripts/cronjobs/",
|
||||
sourcemap: true,
|
||||
target: "node22.6",
|
||||
target: "node20.9",
|
||||
packages: "external",
|
||||
});
|
||||
|
|
|
@ -18,4 +18,4 @@
|
|||
# Default build command.
|
||||
command = "npm ci; npm run build-storybook"
|
||||
|
||||
environment = { NODE_VERSION = "22.6.0", NPM_VERSION = "10.8.1" }
|
||||
environment = { NODE_VERSION = "20.9.0", NPM_VERSION = "10.1.0" }
|
||||
|
|
|
@ -106,8 +106,8 @@
|
|||
"yaml": "^2.5.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "22.6.x",
|
||||
"npm": "10.8.x"
|
||||
"node": "20.9.x",
|
||||
"npm": "10.1.x"
|
||||
}
|
||||
},
|
||||
"node_modules/@aashutoshrathi/word-wrap": {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
"version": "1.0.0",
|
||||
"description": "Firefox Monitor",
|
||||
"engines": {
|
||||
"node": "22.6.x",
|
||||
"npm": "10.8.x"
|
||||
"node": "20.9.x",
|
||||
"npm": "10.1.x"
|
||||
},
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
@ -58,8 +58,8 @@
|
|||
"homepage": "https://github.com/mozilla/blurts-server",
|
||||
"license": "MPL-2.0",
|
||||
"volta": {
|
||||
"node": "22.6.0",
|
||||
"npm": "10.8.1"
|
||||
"node": "20.9.0",
|
||||
"npm": "10.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.637.0",
|
||||
|
|
Загрузка…
Ссылка в новой задаче