Skip to content

Commit e22d603

Browse files
authored
Merge pull request #35 from Michigan-Tech-Courses/dev
2 parents c2f02be + affd077 commit e22d603

File tree

145 files changed

+10323
-6120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+10323
-6120
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
NEXT_PUBLIC_API_ENDPOINT=https://api.michigantechcourses.com
22
NEXT_PUBLIC_THUMOR_ENDPOINT=https://thumbor.michigantechcourses.com
3+
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=
34

45
# Set by CI/CD
56
NEXT_PUBLIC_GIT_REVISION=

.github/workflows/lighthouse.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,25 @@ jobs:
2222
- name: Install dependencies
2323
run: yarn install
2424

25-
- name: Build & export
26-
run: yarn build:export
25+
- name: Build
26+
run: yarn build
2727
env:
2828
NEXT_PUBLIC_API_ENDPOINT: https://api.michigantechcourses.com
2929
NEXT_PUBLIC_GIT_REVISION: random-sha
3030
NEXT_PUBLIC_LIGHTHOUSE: "true"
3131

32+
- name: Serve
33+
run: |
34+
yarn start &
35+
3236
- name: Run Lighthouse against output
3337
id: lighthouse
34-
uses: treosh/lighthouse-ci-action@v3
38+
uses: treosh/lighthouse-ci-action@v8
3539
env:
3640
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
3741
with:
42+
urls: |
43+
http://localhost:3000/
3844
configPath: './lighthouserc.json'
3945
uploadArtifacts: true
4046
temporaryPublicStorage: true

components/courses-table/details-row.tsx

Lines changed: 0 additions & 85 deletions
This file was deleted.

components/courses-table/styles/table.module.scss

Lines changed: 0 additions & 5 deletions
This file was deleted.

components/data-filter-stats-bar.tsx

Lines changed: 0 additions & 42 deletions
This file was deleted.

components/inline-stat.tsx

Lines changed: 0 additions & 16 deletions
This file was deleted.

components/revision-toaster.tsx

Lines changed: 0 additions & 60 deletions
This file was deleted.

components/search-bar.tsx

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)