Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- name: Prettier Action
uses: creyD/prettier_action@v4.3
25 changes: 25 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Continuous Integration

on:
pull_request:
branches: [main]

jobs:
prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
# This is important to fetch the changes to the previous commit
fetch-depth: 0

- name: Prettify code
uses: creyD/prettier_action@v4.2
with:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,jsx, md}
only_changed: True
3 changes: 0 additions & 3 deletions www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.2",
Expand Down
4 changes: 2 additions & 2 deletions www/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ function App() {
<Header />
<div id="app_content" className="my-0 flex flex-1 flex-col float-none">
<Routes>
<Route path="/" element={<Landing />} />
<Route path="/" element = {<Landing />} />
<Route path="/login" element={<Login />} />
<Route path="/signup" element={<Signup />} />
<Route path="/signup/complete" element={<CompleteSignup />} />
<Route path ="/signup/complete" element={<CompleteSignup />} />
<Route path="/feed" element={<Feed />} />
<Route path="/profile" element={<Profile />} />
<Route path="/jobs" element={<Jobs />} />
Expand Down