Skip to content

Commit

Permalink
build: remove lighthouse ci
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospereira committed Jul 5, 2024
1 parent 3f0b89d commit 740bb7c
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 2,514 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
**/out
**/.idea
node_modules
.lighthouseci
jte-classes
Dockerfile
4 changes: 0 additions & 4 deletions .github/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ group:
# Mergify configuration
- .github/mergify.yml
# Build files
- source: lighthouserc.js
replace: false
- source: Dockerfile
replace: false
- detekt-config.yml
Expand Down Expand Up @@ -103,8 +101,6 @@ group:
- source: assets-pipeline.mjs
replace: false
- tailwind.config.js
- source: lighthouserc.js
replace: false
- source: Dockerfile
replace: false
- detekt-config.yml
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,36 +217,6 @@ jobs:
with:
verbose: true

lighthouse-test:
name: Tests / Lighthouse CI
runs-on: ubuntu-latest
needs:
- compile
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: "lts/*" # latest lts
check-latest: true
cache: "yarn"
- uses: ./.github/gradle-action
- run: ./gradlew classes
- run: yarn install
- name: Run Lighthouse CI
run: |
npx lhci collect
npx lhci assert
- name: Upload Lighthouse CI results
uses: actions/upload-artifact@v4
if: always()
with:
name: lighthouse-ci-results-${{ github.run_id }}-${{ github.sha }}
path: .lighthouseci/
retention-days: 30

test-docker-image:
name: Tests / docker image
runs-on: ubuntu-latest
Expand Down Expand Up @@ -309,7 +279,6 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
needs:
- test
- lighthouse-test
- test-docker-image
- dependency-review
steps:
Expand All @@ -321,7 +290,6 @@ jobs:
runs-on: ubuntu-latest
needs:
- test
- lighthouse-test
- test-docker-image
# This job also has an output that can be used by downstream jobs.
# https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jte-classes
target/
out/

.lighthouseci
.micronaut/
.vagrant

Expand Down
43 changes: 0 additions & 43 deletions lighthouserc.js

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@lhci/cli": "0.14.0",
"@liber-ufpe/esbuild-plugin-compress": "^1.0.0",
"@liber-ufpe/esbuild-plugin-sharp": "^1.0.0",
"@stylistic/eslint-plugin-js": "^2.0.0",
Expand Down
Loading

0 comments on commit 740bb7c

Please sign in to comment.