Skip to content

source tarballs does not work without installing eslint #17098

Description

@joyeecheung
  • Version: v9.x
  • Subsystem: build

Since #16138 we started to test the eslint rules, which requires tools/eslint to be present, but the eslint is not bundled inside the source tarballs and neither are there any rules in the makefile (or vcbuild.bat?) that try to install one, so those tests will always fail without manually running npm install first.

Activity

  1. joyeecheung commented on Nov 17, 2017

    @joyeecheung
    MemberAuthor

    There are some different options to solve this:

    1. Make it install when tools/eslint is not present
    2. Make a special test rule for offline testing and skip doc/eslint tests
  2. richardlau commented on Nov 17, 2017

    @richardlau
    Member

    Maybe introduce a common.skipIfNoeslint for the tests to skip if tools/eslint is not present?

  3. added
    buildIssues and PRs related to Node.js builds or CI infrastructure.
    on Nov 17, 2017
  4. kasicka commented on Jan 4, 2018

    @kasicka

    Maybe move eslint tests out of parallel and add test-offline to Makefile.

  5. joyeecheung commented on Jan 4, 2018

    @joyeecheung
    MemberAuthor

    @kasicka Well we do have test-internet though it's not normally run...

  6. kasicka commented on Jan 5, 2018

    @kasicka

    I write faster than I think.. still eslint tests should be moved out of parallel/

  7. kasicka commented on Mar 8, 2018

    @kasicka

    I think this can be closed, fixed by #18807

  8. cjihrig commented on Mar 8, 2018

    @cjihrig
    Contributor

    Thanks. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions