Skip to content

Commit

Permalink
Merge pull request #174 from Karol-2/fix-dev-merge
Browse files Browse the repository at this point in the history
Fixed dev merge
  • Loading branch information
JANKROL123 authored May 31, 2024
2 parents 352e1d7 + 5c90f0b commit b0bdba4
Show file tree
Hide file tree
Showing 125 changed files with 14,495 additions and 6,022 deletions.
25 changes: 24 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Wait for containers to start
run: |
sleep 18
sleep 100
docker run \
--rm \
--network mercury-project_default \
Expand All @@ -41,3 +41,26 @@ jobs:
with:
commit_message: Apply formatting
branch: ${{ github.head_ref }}

cypress:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- uses: isbang/[email protected]
with:
compose-file: "compose.yml"

- name: Wait for containers to start
run: |
sleep 100
docker run \
--rm \
--network mercury-project_default \
alpine/curl -o /dev/null --retry 3 --retry-connrefused backend:5000
- name: Run Cypress Tests
run: cd frontend; npm i && npm run cy:run
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
node_modules/
build/
5 changes: 4 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
node_modules/
coverage/
coverage/
frontend/.vite/
keycloak/
db/
4 changes: 3 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
"endOfLine": "lf",
"semi": true,
"bracketSpacing": true,
"quoteProps": "preserve"
"quoteProps": "preserve",
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"importOrder": ["<BUILTIN_MODULES>", "", "<THIRD_PARTY_MODULES>", "", "^[.]"]
}
4 changes: 3 additions & 1 deletion backend/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
TOKEN_SECRET=27a0967eed44a78feec1ccd9225343258894288202c0a45a8f93adce6786dbc9ae5a7fc4df716f29eefed7067d9b94fa9f7c2ab7dd7781d36cb22206bf25b886
LINK_SECRET=ijr2iq34rfeiadsfkjq3ew

CLIENT_SECRET=fOP43IDxXavjRogZMQWKW1qmJAz5zeEf
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=password
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:21-alpine
WORKDIR /home/node/app
COPY *.json .
COPY ./src ./src
Expand Down
Loading

0 comments on commit b0bdba4

Please sign in to comment.