From 7d600a70112a9a720ad19147030983a977294237 Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 13 May 2025 21:33:25 +0200 Subject: [PATCH 1/2] chore: test with node 20 --- .github/workflows/check.yml | 6 +++--- .github/workflows/code_health.yaml | 6 +++--- .github/workflows/code_health_fork.yaml | 2 +- .github/workflows/prepare_release.yaml | 2 +- .github/workflows/publish.yaml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 71a5b657..2b4c1465 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version-file: package.json + node-version: 20 cache: "npm" - name: Install dependencies run: npm ci @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version-file: package.json + node-version: 20 cache: "npm" - name: Install dependencies run: npm ci @@ -47,7 +47,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version-file: package.json + node-version: 20 cache: "npm" - name: Install dependencies, build and remove dev dependencies run: | diff --git a/.github/workflows/code_health.yaml b/.github/workflows/code_health.yaml index 2f8ed17a..7d500647 100644 --- a/.github/workflows/code_health.yaml +++ b/.github/workflows/code_health.yaml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version-file: package.json + node-version: 20 cache: "npm" - name: Install dependencies run: npm ci @@ -45,7 +45,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version-file: package.json + node-version: 20 cache: "npm" - name: Install dependencies run: npm ci @@ -71,7 +71,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version-file: package.json + node-version: 20 cache: "npm" - name: Install dependencies run: npm ci diff --git a/.github/workflows/code_health_fork.yaml b/.github/workflows/code_health_fork.yaml index 3704ddbc..8fe14b20 100644 --- a/.github/workflows/code_health_fork.yaml +++ b/.github/workflows/code_health_fork.yaml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version-file: package.json + node-version: 20 cache: "npm" - name: Install dependencies run: npm ci diff --git a/.github/workflows/prepare_release.yaml b/.github/workflows/prepare_release.yaml index 5300316a..80dd003d 100644 --- a/.github/workflows/prepare_release.yaml +++ b/.github/workflows/prepare_release.yaml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version-file: package.json + node-version: 20 registry-url: "https://registry.npmjs.org" cache: "npm" - name: Bump version diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e8964fa8..76575860 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version-file: package.json + node-version: 20 registry-url: "https://registry.npmjs.org" cache: "npm" - name: Get version @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version-file: package.json + node-version: 20 registry-url: "https://registry.npmjs.org" cache: "npm" - name: Build package From ec854f71ba06ebac0d834a2abcb4587172c5a79a Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 13 May 2025 21:53:56 +0200 Subject: [PATCH 2/2] test: use a lower version to cause failures --- .github/workflows/check.yml | 6 +++--- .github/workflows/code_health.yaml | 6 +++--- .github/workflows/code_health_fork.yaml | 2 +- .github/workflows/prepare_release.yaml | 2 +- .github/workflows/publish.yaml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 2b4c1465..bb08bc0c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.9.0 cache: "npm" - name: Install dependencies run: npm ci @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.9.0 cache: "npm" - name: Install dependencies run: npm ci @@ -47,7 +47,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.9.0 cache: "npm" - name: Install dependencies, build and remove dev dependencies run: | diff --git a/.github/workflows/code_health.yaml b/.github/workflows/code_health.yaml index 7d500647..7d353111 100644 --- a/.github/workflows/code_health.yaml +++ b/.github/workflows/code_health.yaml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.9.0 cache: "npm" - name: Install dependencies run: npm ci @@ -45,7 +45,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.9.0 cache: "npm" - name: Install dependencies run: npm ci @@ -71,7 +71,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.9.0 cache: "npm" - name: Install dependencies run: npm ci diff --git a/.github/workflows/code_health_fork.yaml b/.github/workflows/code_health_fork.yaml index 8fe14b20..5f3b0d95 100644 --- a/.github/workflows/code_health_fork.yaml +++ b/.github/workflows/code_health_fork.yaml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.9.0 cache: "npm" - name: Install dependencies run: npm ci diff --git a/.github/workflows/prepare_release.yaml b/.github/workflows/prepare_release.yaml index 80dd003d..462025b3 100644 --- a/.github/workflows/prepare_release.yaml +++ b/.github/workflows/prepare_release.yaml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.9.0 registry-url: "https://registry.npmjs.org" cache: "npm" - name: Bump version diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 76575860..450f17bf 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.9.0 registry-url: "https://registry.npmjs.org" cache: "npm" - name: Get version @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 20.9.0 registry-url: "https://registry.npmjs.org" cache: "npm" - name: Build package