node: fix vuln report #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DO NOT EDIT: this file is automatically synced from the template repository | |
# in https://github.com/Liber-UFPE/project-starter. | |
name: Lighthouse CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
types: [ "opened", "synchronize", "reopened" ] | |
env: | |
GRADLE_OPTS: '-Dorg.gradle.console=plain -Dorg.gradle.caching=true -Dorg.gradle.jvmargs="-Xmx2g -XX:MaxMetaspaceSize=512m"' | |
jobs: | |
lighthouse-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/gradle-action | |
- run: ./gradlew classes | |
- name: Install Lighthouse CI | |
run: npm install | |
- name: Run Lighthouse CI | |
run: npx lhci autorun | |
env: | |
PROJECT_TOKEN: ${{ vars.LHCI_PROJECT_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.LHCI_GITHUB_TOKEN }} | |
BASIC_AUTH_USERNAME: ${{ secrets.LHCI_BASIC_AUTH_USERNAME }} | |
BASIC_AUTH_PASSWORD: ${{ secrets.LHCI_BASIC_AUTH_PASSWORD }} |