diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cfe04a6..d822be8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v7 with: - node-version: 22.x + node-version: 24.x cache: npm - name: Install dependencies diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 79f95df..ab19fa5 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -29,6 +29,9 @@ on: zip_url: description: 'Lambda ZIP to deploy instead of the checkout build (e.g. a GitHub release asset)' type: string + runtime: + description: 'Lambda runtime to test instead of the one the docs name (e.g. nodejs24.x)' + type: string permissions: id-token: write @@ -47,6 +50,7 @@ env: LOG_GROUP: /e2e/gh${{ github.run_id }}a${{ github.run_attempt }} MARKER: e2e run_id=gh${{ github.run_id }}a${{ github.run_attempt }} ZIP_URL_OVERRIDE: ${{ inputs.zip_url }} + RUNTIME_OVERRIDE: ${{ inputs.runtime }} TEST_TEAM_TELEMETRY_API: ${{ secrets.TEST_TEAM_TELEMETRY_API }} TEST_TEAM_CONNECTION_USERNAME: ${{ secrets.TEST_TEAM_CONNECTION_USERNAME }} TEST_TEAM_CONNECTION_PASSWORD: ${{ secrets.TEST_TEAM_CONNECTION_PASSWORD }} @@ -65,7 +69,7 @@ jobs: - name: "[Setup] Node.js" uses: actions/setup-node@v7 with: - node-version: 22.x + node-version: 24.x cache: npm - name: "[Check] Docs article names the ZIP, runtime, architecture, environment variables and subscription filter" @@ -82,8 +86,8 @@ jobs: done [ -z "$MISSING" ] || { echo "::error::$DOCS_URL changed, this test no longer matches it, missing:$MISSING"; exit 1; } echo "DOCS_ZIP_URL=$ZIP_URL" >> "$GITHUB_ENV" - echo "RUNTIME=$RUNTIME" >> "$GITHUB_ENV" - echo "docs: $ZIP_URL on $RUNTIME_LABEL ($RUNTIME), x86_64" + echo "RUNTIME=${RUNTIME_OVERRIDE:-$RUNTIME}" >> "$GITHUB_ENV" + echo "docs: $ZIP_URL on $RUNTIME_LABEL ($RUNTIME), x86_64${RUNTIME_OVERRIDE:+, testing $RUNTIME_OVERRIDE instead}" - name: "[Setup] AWS credentials (OIDC)" uses: aws-actions/configure-aws-credentials@v5 diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 851cf84..a12d3e5 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v7 with: - node-version: 22.x + node-version: 24.x cache: npm - name: Install dependencies