diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml new file mode 100644 index 00000000..b57d72a0 --- /dev/null +++ b/.github/workflows/frontend.yml @@ -0,0 +1,34 @@ +name: Front-End CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + defaults: + run: + working-directory: frontend + + steps: + - uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '20' + cache: 'yarn' + + - name: Enable Corepack + run: corepack enable + + - name: Install dependencies + run: yarn install --immutable + + - name: Run formatter + run: yarn format + + - name: Run linter + run: yarn lint + + - name: Run tests + run: yarn test diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index fcbad258..14a044e0 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -5,7 +5,7 @@ jwt.signing.key=413F4428472B4B6250655368566D5970337336763979244226452948404D6351 spring.application.name=cuisines spring.datasource.url=jdbc:mysql://localhost:3306/cuisines-test?createDatabaseIfNotExist=true spring.datasource.username=root -spring.datasource.password=admin +spring.datasource.password=adminadmin spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.jpa.hibernate.ddl-auto=create-drop spring.jpa.show-sql=true