Giter Site home page Giter Site logo

Comments (5)

milewski avatar milewski commented on July 27, 2024 2

Actually, I figured it out...

Looking at the log for checkout@v2 I saw this:

image

As I'm using a self-hosted runner I had an old version of git.. upgrading it.. now there is indeed a .git folder in my root directory and everything works as expected.

from lighthouse-ci-action.

alekseykulikov avatar alekseykulikov commented on July 27, 2024 1

Hey @luisherranz !
Thank you for the report. Now, the action requires GitHub repo.
In the future, It would be great to be able to run in a standalone mode like your example.

Include actions/checkout at the beginning of the workflow to make it work:

steps:
  - uses: actions/checkout@v1

See examples for more details: https://github.com/treosh/lighthouse-ci-action#examples

from lighthouse-ci-action.

alekseykulikov avatar alekseykulikov commented on July 27, 2024 1

Related LHCI issue: GoogleChrome/lighthouse-ci#151

from lighthouse-ci-action.

luisherranz avatar luisherranz commented on July 27, 2024

I see, thanks @alekseykulikov.

from lighthouse-ci-action.

milewski avatar milewski commented on July 27, 2024

I'm on the latest version I do have actions/checkout@v2 but I still get the error...

LHCI_BUILD_CONTEXT__CURRENT_HASH: ...
LHCI_BUILD_CONTEXT__COMMIT_MESSAGE: ....
LHCI_BUILD_CONTEXT__AUTHOR: ....
LHCI_BUILD_CONTEXT__AVATAR_URL: .....

It keeps asking me .. I'm not sure how many more it will ask.. I gave up when it asked me AVATAR_URL

from lighthouse-ci-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.