From 628dde834a080ebd3c5229f5c6a7b07f09b6bec2 Mon Sep 17 00:00:00 2001 From: CeciliaAvila Date: Thu, 28 Nov 2024 10:25:06 -0300 Subject: [PATCH] Update yamls to include node 22 --- .github/workflows/depcheck.yml | 4 ++-- .github/workflows/lint.yml | 6 +++--- .github/workflows/test-compat.yml | 6 +++--- .github/workflows/test-consumer.yml | 6 +++--- .github/workflows/test-repoutils.yml | 6 +++--- .github/workflows/test-schemas.yml | 6 +++--- .github/workflows/tests.yml | 4 ++-- build/yaml/botbuilder-js-daily.yml | 2 +- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/depcheck.yml b/.github/workflows/depcheck.yml index b14e32bc8f..1ab4931686 100644 --- a/.github/workflows/depcheck.yml +++ b/.github/workflows/depcheck.yml @@ -21,10 +21,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: use node 20.x + - name: use node 22.x uses: actions/setup-node@v2-beta with: - node-version: 20.x + node-version: 22.x - name: yarn cache dir id: yarn-cache-dir diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 11c8564e67..80604516ba 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,10 +21,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: use node 20.x + - name: use node 22.x uses: actions/setup-node@v2-beta with: - node-version: 20.x + node-version: 22.x - name: yarn cache dir id: yarn-cache-dir @@ -33,7 +33,7 @@ jobs: - uses: actions/cache@v2 with: path: ${{ steps.yarn-cache-dir.outputs.dir }} - key: ${{ runner.os }}-node20.x-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }} - name: yarn run: yarn --frozen-lockfile diff --git a/.github/workflows/test-compat.yml b/.github/workflows/test-compat.yml index 704d92a21e..6db8ccbc01 100644 --- a/.github/workflows/test-compat.yml +++ b/.github/workflows/test-compat.yml @@ -21,10 +21,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: use node 20.x + - name: use node 22.x uses: actions/setup-node@v2-beta with: - node-version: 20.x + node-version: 22.x - name: yarn cache dir id: yarn-cache-dir @@ -33,7 +33,7 @@ jobs: - uses: actions/cache@v2 with: path: ${{ steps.yarn-cache-dir.outputs.dir }} - key: ${{ runner.os }}-node20.x-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }} - name: yarn run: yarn --frozen-lockfile diff --git a/.github/workflows/test-consumer.yml b/.github/workflows/test-consumer.yml index d20072b2b4..45091af3a7 100644 --- a/.github/workflows/test-consumer.yml +++ b/.github/workflows/test-consumer.yml @@ -21,10 +21,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: use node 20.x + - name: use node 22.x uses: actions/setup-node@v2-beta with: - node-version: 20.x + node-version: 22.x - name: yarn cache dir id: yarn-cache-dir @@ -33,7 +33,7 @@ jobs: - uses: actions/cache@v2 with: path: ${{ steps.yarn-cache-dir.outputs.dir }} - key: ${{ runner.os }}-node20.x-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }} - name: yarn run: yarn --frozen-lockfile diff --git a/.github/workflows/test-repoutils.yml b/.github/workflows/test-repoutils.yml index fd907e8133..c958ac69fb 100644 --- a/.github/workflows/test-repoutils.yml +++ b/.github/workflows/test-repoutils.yml @@ -21,10 +21,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: use node 20.x + - name: use node 22.x uses: actions/setup-node@v2-beta with: - node-version: 20.x + node-version: 22.x - name: yarn cache dir id: yarn-cache-dir @@ -33,7 +33,7 @@ jobs: - uses: actions/cache@v2 with: path: ${{ steps.yarn-cache-dir.outputs.dir }} - key: ${{ runner.os }}-node20.x-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }} - name: yarn run: yarn --frozen-lockfile diff --git a/.github/workflows/test-schemas.yml b/.github/workflows/test-schemas.yml index 44389cdffa..69e9359a97 100644 --- a/.github/workflows/test-schemas.yml +++ b/.github/workflows/test-schemas.yml @@ -21,10 +21,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: use node 20.x + - name: use node 22.x uses: actions/setup-node@v2-beta with: - node-version: 20.x + node-version: 22.x - name: yarn cache dir id: yarn-cache-dir @@ -33,7 +33,7 @@ jobs: - uses: actions/cache@v2 with: path: ${{ steps.yarn-cache-dir.outputs.dir }} - key: ${{ runner.os }}-node20.x-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }} - name: npm install @microsoft/botframework-cli@next --global run: npm install @microsoft/botframework-cli@next --global diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ff70187ff1..94a21d62fc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: os: [ubuntu, windows] - node-version: [18.x, 20.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v2 @@ -50,7 +50,7 @@ jobs: run: yarn test:github - name: coveralls - if: matrix.node-version == '20.x' + if: matrix.node-version == '22.x' uses: coverallsapp/github-action@v1.1.2 with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/build/yaml/botbuilder-js-daily.yml b/build/yaml/botbuilder-js-daily.yml index fd7f6648c8..5a3cccb4df 100644 --- a/build/yaml/botbuilder-js-daily.yml +++ b/build/yaml/botbuilder-js-daily.yml @@ -6,7 +6,7 @@ pool: vmImage: 'ubuntu-latest' variables: - NodeVersion: 20.x + NodeVersion: 22.x Packaging.EnableSBOMSigning: true YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn # SDK_JS_org_registry_Url: define this in Azure