@@ -135,40 +135,40 @@ jobs:
135135 env :
136136 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
137137
138- lighthouse :
139- name : Lighthouse CI
140- runs-on : ubuntu-latest
141- needs : build
142- steps :
143- - name : Checkout code
144- uses : actions/checkout@v4
145-
146- - name : Setup Node.js
147- uses : actions/setup-node@v4
148- with :
149- node-version : ${{ env.NODE_VERSION }}
150- cache : " npm"
151-
152- - name : Install dependencies
153- run : npm ci
154-
155- - name : Download build artifacts
156- uses : actions/download-artifact@v4
157- with :
158- name : build-artifacts
159- path : .next
160-
161- - name : Start application server
162- run : npm start & #
163-
164- - name : Wait for server to be ready
165- run : sleep 10
166-
167- - name : Run Lighthouse CI
168- uses : treosh/lighthouse-ci-action@v12
169- with :
170- urls : |
171- http://localhost:3000
172- uploadArtifacts : true
173- temporaryPublicStorage : true
174- continue-on-error : true
138+ lighthouse :
139+ name : Lighthouse CI
140+ runs-on : ubuntu-latest
141+ needs : build
142+ steps :
143+ - name : Checkout code
144+ uses : actions/checkout@v4
145+
146+ - name : Setup Node.js
147+ uses : actions/setup-node@v4
148+ with :
149+ node-version : ${{ env.NODE_VERSION }}
150+ cache : " npm"
151+
152+ - name : Install dependencies
153+ run : npm ci
154+
155+ - name : Download build artifacts
156+ uses : actions/download-artifact@v4
157+ with :
158+ name : build-artifacts
159+ path : .next
160+
161+ - name : Start application server
162+ run : npm start & #
163+
164+ - name : Wait for server to be ready
165+ run : sleep 10
166+
167+ - name : Run Lighthouse CI
168+ uses : treosh/lighthouse-ci-action@v12
169+ with :
170+ urls : |
171+ http://localhost:3000
172+ uploadArtifacts : true
173+ temporaryPublicStorage : true
174+ continue-on-error : true
0 commit comments