diff --git a/.github/workflows/auto-lint.yml b/.github/workflows/auto-lint.yml index a1e3327dc2..b5b3889f8e 100644 --- a/.github/workflows/auto-lint.yml +++ b/.github/workflows/auto-lint.yml @@ -16,10 +16,10 @@ jobs: - run: git fetch --depth=1 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: 'yarn' - name: Install Dependencies - run: yarn install --frozen-lockfile + run: yarn install --frozen-lockfile --ignore-engines - name: Run Lint run: yarn lint:fix - name: Commit Changes if needed diff --git a/.github/workflows/blackduck.yml b/.github/workflows/blackduck.yml index c69be39261..d9f2225dca 100644 --- a/.github/workflows/blackduck.yml +++ b/.github/workflows/blackduck.yml @@ -14,9 +14,9 @@ jobs: - run: git fetch --depth=1 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: 'yarn' - - run: yarn install --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines - run: sudo apt-get install jq - run: echo "project_version=$(cat package.json | jq '.version' | tr -d '"')" >> $GITHUB_ENV - name: Blackduck Scan diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d276433860..75b6c36f3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18] + node-version: [18, 20, 22] steps: - uses: actions/checkout@v4 - run: git fetch --depth=1 @@ -33,7 +33,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'yarn' - - run: yarn install --ignore-engines --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines - run: yarn test:unit env: SANDBOX_TOKEN: ${{ secrets.API_HUB_SANDBOX_TOKEN }} @@ -62,11 +62,11 @@ jobs: - run: git fetch --depth=1 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: 'yarn' - name: REUSE Compliance Check uses: fsfe/reuse-action@v4 - - run: yarn install --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines - run: yarn lint name: Static Code Check - run: yarn check:test-service @@ -104,10 +104,11 @@ jobs: - run: git fetch --depth=1 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: 'yarn' - - run: yarn install --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines - run: yarn test:e2e + dependabot: runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }} @@ -167,10 +168,10 @@ jobs: - run: git fetch --depth=1 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: 'yarn' registry-url: 'https://registry.npmjs.org' - - run: yarn install --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines - name: Canary Release run: | date=`date +%Y%m%d%H%M%S` @@ -191,9 +192,9 @@ jobs: - run: git fetch --depth=1 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: 'yarn' - - run: yarn install --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines - uses: ./.github/actions/get-changelog name: Get Changelog id: get-changelog diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 25412fb1bf..0e44f4276f 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -18,10 +18,10 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: 'yarn' - - run: yarn install --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines - name: bump version id: bump diff --git a/.github/workflows/downloads.yml b/.github/workflows/downloads.yml index 924bb8f393..04895168d4 100644 --- a/.github/workflows/downloads.yml +++ b/.github/workflows/downloads.yml @@ -13,8 +13,8 @@ jobs: - run: git fetch --depth=1 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: 'yarn' - - run: yarn install --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines - run: yarn ts-node scripts/npm-stats.ts name: Download Stats diff --git a/.github/workflows/memory-tests.yml b/.github/workflows/memory-tests.yml index 0e667a939b..7e299cbe9a 100644 --- a/.github/workflows/memory-tests.yml +++ b/.github/workflows/memory-tests.yml @@ -12,9 +12,9 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: 'yarn' - - run: yarn install --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines name: install root - run: yarn workspace @sap-cloud-sdk/e2e-tests pretest:e2e name: start e2e tests server diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed313c3ea7..23acfa78aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,9 +13,9 @@ jobs: ref: 'main' - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 registry-url: 'https://registry.npmjs.org' - - run: yarn install --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines - name: Legacy Release if: startsWith(github.ref, 'refs/tags/v1') || startsWith(github.ref, 'refs/tags/v2') run: | diff --git a/.github/workflows/tests-windows.yml b/.github/workflows/tests-windows.yml index cbc67f0694..e68caaaebc 100644 --- a/.github/workflows/tests-windows.yml +++ b/.github/workflows/tests-windows.yml @@ -16,9 +16,9 @@ jobs: - run: git fetch --depth=1 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: 'yarn' - - run: yarn install --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines - run: yarn test:unit - run: yarn test:integration if: always() diff --git a/.github/workflows/typedoc.yml b/.github/workflows/typedoc.yml index 1245a2b421..5210e794ff 100644 --- a/.github/workflows/typedoc.yml +++ b/.github/workflows/typedoc.yml @@ -16,7 +16,7 @@ jobs: - run: git fetch --depth=1 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: 'yarn' - - run: yarn install --frozen-lockfile + - run: yarn install --frozen-lockfile --ignore-engines - run: yarn doc