From 0ff6901f3c7e9eba7f4335a6f3b7823fab3a6451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20K=C3=B6nig?= <33655937+jkoenig134@users.noreply.github.com> Date: Wed, 23 Oct 2024 16:52:09 +0200 Subject: [PATCH] Downgrade Node.js (#308) * ci: downgrade node version for testing * ci: downgrade node-version for publish --- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 901befea3..5d52238be 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm run build:ci -ws diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c2aa4318..c593a25cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: run: npm run start:backbone - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - run: npm ci - run: npm run build:node - run: npm run test:ci --workspace=@nmshd/app-runtime @@ -46,7 +46,7 @@ jobs: run: npm run start:backbone - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - run: npm ci - name: Start MongoDB uses: supercharge/mongodb-github-action@v1 @@ -66,7 +66,7 @@ jobs: run: npm run start:backbone - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - run: npm ci - uses: js-soft/ferretdb-github-action@1.1.1 with: @@ -88,7 +88,7 @@ jobs: run: npm run start:backbone - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - run: npm ci - run: npm run build:node - run: npm run test:ci:lokijs --workspace=@nmshd/consumption @@ -108,7 +108,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - run: npm ci - run: npm run build:node - run: npm run test:ci --workspace=@nmshd/content @@ -124,7 +124,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - run: npm ci - run: npm run build:node - run: npm run test:ci --workspace=@nmshd/core-types @@ -142,7 +142,7 @@ jobs: run: npm run start:backbone - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - uses: supercharge/mongodb-github-action@v1 - run: npm ci - run: npm run build:node @@ -163,7 +163,7 @@ jobs: run: npm run start:backbone - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - uses: js-soft/ferretdb-github-action@1.1.1 with: ferretdb-telemetry: "enabled" @@ -187,7 +187,7 @@ jobs: run: npm run start:backbone - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - run: npm ci - run: npm run build:node - run: npm run build:schemas --workspace=@nmshd/runtime @@ -211,7 +211,7 @@ jobs: run: npm run start:backbone - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - run: npm ci - run: npm run build:node - name: Start MongoDB @@ -232,7 +232,7 @@ jobs: run: npm run start:backbone - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - run: npm ci - run: npm run build:node - uses: js-soft/ferretdb-github-action@1.1.1 @@ -255,7 +255,7 @@ jobs: run: npm run start:backbone - uses: actions/setup-node@v4 with: - node-version: current + node-version: 22 - run: npm ci - run: npm run build:node - run: npm run test:ci:lokijs --workspace=@nmshd/transport