Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NODEJS-680: Update and Automate TypeScript Support - 1. config and auth #431

Open
wants to merge 5 commits into
base: typescript
Choose a base branch
from

revert package-lock.json

aec68d2
Select commit
Loading
Failed to load commit list.
Open

NODEJS-680: Update and Automate TypeScript Support - 1. config and auth #431

revert package-lock.json
aec68d2
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Dec 19, 2024 in 8m 5s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #431 NODEJS-680: Update and Automate TypeScript Support - 1. config and auth.
Any changes that have been made to the typescript branch before the build ran are also included.

Jobs and Stages

This build has seven jobs, running in parallel.

Stage 1: tests

This stage failed.

Job Node.js OS State
3146.1 Run eslint 18 Linux failed
3146.2 TypeScript 4.9 generation and compilation tests 18 Linux failed
3146.3 Unit tests - Node.js 20 20 Linux failed
3146.4 Unit tests w/ latest dependencies - Node.js 20 20 Linux failed
3146.5 Unit tests - Node.js 18 18 Linux failed
3146.6 Unit tests - Node.js 16 16 Linux failed
3146.7 TypeScript (latest) generation and compilation tests 18 Linux failed

Build Configuration

Build Option Setting
Language Node.js
Operating System Linux (Jammy)
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "sudo": false,
  "cache": {
    "directories": [
      "node_modules"
    ]
  },
  "jobs": {
    "include": [
      {
        "stage": "tests",
        "name": "Run eslint",
        "script": [
          "npm install -g eslint@4; npm run eslint;"
        ],
        "node_js": "18"
      },
      {
        "name": "TypeScript 4.9 generation and compilation tests",
        "node_js": "18",
        "script": [
          "npm install -g [email protected];",
          "pushd test/unit/typescript/",
          "tsc -p .",
          "node -e \"require('./api-generation-test').generate()\" > generated.ts",
          "tsc generated.ts"
        ]
      },
      {
        "name": "Unit tests - Node.js 20",
        "node_js": "20",
        "script": [
          "npm test"
        ]
      },
      {
        "name": "Unit tests w/ latest dependencies - Node.js 20",
        "node_js": "20",
        "script": [
          "rm package-lock.json",
          "rm -rf node_modules",
          "npm install",
          "npm test"
        ]
      },
      {
        "name": "Unit tests - Node.js 18",
        "node_js": "18",
        "script": [
          "npm test"
        ]
      },
      {
        "name": "Unit tests - Node.js 16",
        "node_js": "16",
        "script": [
          "npm test"
        ]
      },
      {
        "name": "TypeScript (latest) generation and compilation tests",
        "node_js": "18",
        "script": [
          "npm install -g typescript;",
          "pushd test/unit/typescript/",
          "tsc -p .",
          "node -e \"require('./api-generation-test').generate()\" > generated.ts",
          "tsc generated.ts"
        ]
      }
    ]
  }
}