diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..281c59c --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,2 @@ +- name: Prettier Action + uses: creyD/prettier_action@v4.3 diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml new file mode 100644 index 0000000..512d753 --- /dev/null +++ b/.github/workflows/prettier.yml @@ -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 \ No newline at end of file diff --git a/www/package.json b/www/package.json index c0548e0..33051bf 100644 --- a/www/package.json +++ b/www/package.json @@ -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", diff --git a/www/src/App.js b/www/src/App.js index 1facc11..dcf7d64 100644 --- a/www/src/App.js +++ b/www/src/App.js @@ -19,10 +19,10 @@ function App() {
- } /> + } /> } /> } /> - } /> + } /> } /> } /> } />