Skip to content

Commit

Permalink
Merge pull request #35 from Michigan-Tech-Courses/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb authored Oct 17, 2021
2 parents c2f02be + affd077 commit e22d603
Show file tree
Hide file tree
Showing 145 changed files with 10,323 additions and 6,120 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
NEXT_PUBLIC_API_ENDPOINT=https://api.michigantechcourses.com
NEXT_PUBLIC_THUMOR_ENDPOINT=https://thumbor.michigantechcourses.com
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=

# Set by CI/CD
NEXT_PUBLIC_GIT_REVISION=
12 changes: 9 additions & 3 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,25 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Build & export
run: yarn build:export
- name: Build
run: yarn build
env:
NEXT_PUBLIC_API_ENDPOINT: https://api.michigantechcourses.com
NEXT_PUBLIC_GIT_REVISION: random-sha
NEXT_PUBLIC_LIGHTHOUSE: "true"

- name: Serve
run: |
yarn start &
- name: Run Lighthouse against output
id: lighthouse
uses: treosh/lighthouse-ci-action@v3
uses: treosh/lighthouse-ci-action@v8
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
with:
urls: |
http://localhost:3000/
configPath: './lighthouserc.json'
uploadArtifacts: true
temporaryPublicStorage: true
85 changes: 0 additions & 85 deletions components/courses-table/details-row.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions components/courses-table/styles/table.module.scss

This file was deleted.

42 changes: 0 additions & 42 deletions components/data-filter-stats-bar.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions components/inline-stat.tsx

This file was deleted.

60 changes: 0 additions & 60 deletions components/revision-toaster.tsx

This file was deleted.

85 changes: 0 additions & 85 deletions components/search-bar.tsx

This file was deleted.

Loading

1 comment on commit e22d603

@vercel
Copy link

@vercel vercel bot commented on e22d603 Oct 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.