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

[v12.x] actions update / remove travis #32608

Closed

Commits on Apr 2, 2020

  1. src: add build Github Action

    PR-URL: nodejs#31153
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    gengjiawen authored and MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    b408413 View commit details
    Browse the repository at this point in the history
  2. build: add GitHub actions to run linters

    Add jobs to our GitHub Actions workflow to run our
    various lint Makefile targets. The `setup-node` action
    used to run the JavaScript linter contains problem
    matchers for eslint that will annotate the files in a pull
    request if there are failures.
    
    PR-URL: nodejs#31323
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    richardlau authored and MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    2e08042 View commit details
    Browse the repository at this point in the history
  3. build: fix step name in GitHub Actions workflow

    The CI workflow doesn't use the matrix strategy so there is no
    `${{ matrix.node-version }}` variable to use in the `Use Node.js`
    step names.
    
    PR-URL: nodejs#31323
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    richardlau authored and MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    8ddb39e View commit details
    Browse the repository at this point in the history
  4. build: fix macos runner type in GitHub Action

    PR-URL: nodejs#31327
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    himself65 authored and MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    bf04e09 View commit details
    Browse the repository at this point in the history
  5. build: do not use setup-node in build workflows

    The setup-node GitHub Action installs problem matchers that happen
    to match the warning message format of Visual Studio's C/C++ compiler.
    This is resulting in all of our pull requests being annotated with
    `Unchanged files with check annotations` which are confusing to new
    contributors as they are not due to the changes in the pull request.
    
    The action is used to run `npx envinfo` to dump some information into
    the logs before the actual build. All GitHub hosted runners already
    have a version of Node.js installed (12.x at the time of this commit)
    which we can use to run `envinfo`. Remove the action to avoid using
    the problematic problem matcher.
    
    PR-URL: nodejs#31349
    Fixes: nodejs#31347
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    richardlau authored and MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    9a3e059 View commit details
    Browse the repository at this point in the history
  6. build: build docs in GitHub Actions CI workflow

    PR-URL: nodejs#31504
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    richardlau authored and MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    57f6b5a View commit details
    Browse the repository at this point in the history
  7. build: annotate markdown lint failures in pull requests

    Add a problem matcher for output from remark-lint to our lint-md GitHub
    Actions CI workflow so that any markdown linter failures are annotated
    in the pull request in the web UI.
    
    Signed-off-by: Richard Lau <riclau@uk.ibm.com>
    
    PR-URL: nodejs#32391
    Refs: https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md
    Refs: https://github.com/actions/toolkit/blob/master/docs/commands.md#problem-matchers
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    richardlau authored and MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    c2e00ed View commit details
    Browse the repository at this point in the history
  8. build: drop Travis in favor of Actions

    GitHub Actions is running all tests already present on Travis, as well
    as building on more platforms (OS X and Windows). With Travis we're also
    getting timeouts more frequently than with Actions, which gives the
    false impression tests are failing (making it harder to triage PRs ready
    to merge).
    
    To make our config simpler, CI.yml and pythonpackage.yml got merged. The
    coverage is also increased by running tests on OS X.
    
    Signed-off-by: Matheus Marchini <mmarchini@netflix.com>
    
    PR-URL: nodejs#32450
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    cclauss authored and MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    9d80c47 View commit details
    Browse the repository at this point in the history
  9. fixup: 2.7 for windows

    MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    cd6f327 View commit details
    Browse the repository at this point in the history
  10. fixup: 2.7 linux

    MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    aa7ca3c View commit details
    Browse the repository at this point in the history
  11. fixup: 2.7 macos

    MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    ff117fb View commit details
    Browse the repository at this point in the history
  12. fixup: linux

    MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    b176276 View commit details
    Browse the repository at this point in the history
  13. fixup: windows

    MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    c734115 View commit details
    Browse the repository at this point in the history
  14. fixup: windows 2016

    MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    4739111 View commit details
    Browse the repository at this point in the history
  15. fixup: windows oops

    MylesBorins committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    833482d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8cb4db0 View commit details
    Browse the repository at this point in the history