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

gitlab ci blocks during run #1031

Open
chenfan0 opened this issue Apr 24, 2024 · 3 comments
Open

gitlab ci blocks during run #1031

chenfan0 opened this issue Apr 24, 2024 · 3 comments

Comments

@chenfan0
Copy link

chenfan0 commented Apr 24, 2024

lighthouserc.js

module.exports = {
    ci: {
        collect: {
            url: [
                'http://127.0.0.1:8089/'
            ],
            numberOfRuns: 3,
            startServerCommand: "PORT=8089 node src/server",
            settings: {
                hostname: '127.0.0.1',
                chromeFlags: ['--no-sandbox'],
            },
        },
        upload: {
            target: 'temporary-public-storage',
        }
    }
}

.gitlab-ci.yml

lhci:
  stage: test
  image: cypress/browsers:node-18.16.1-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1
  script:   
    - npm install
    - npm install -g @lhci/cli@0.13.x
    - npm run build
    - lhci autorun --config=./lighthouserc.js || echo "LHCI failed!"
image
@ydhnwb
Copy link

ydhnwb commented Apr 30, 2024

I also got this. Any solution?

@njsaunders
Copy link

Has the npm package been compromised?

$ npx lhci --version
Hello, this is AnupamAS01!

@chenfan0
Copy link
Author

I also got this. Any solution?

no 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants