Skip to content

Commit 039fec5

Browse files
authored
Merge pull request #189 from bounswe/frontend/feature/118-add-github-actions
add frontend github actions
2 parents 75f562a + a3cf436 commit 039fec5

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.github/workflows/frontend.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Front-End CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
defaults:
9+
run:
10+
working-directory: frontend
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: '20'
19+
cache: 'yarn'
20+
21+
- name: Enable Corepack
22+
run: corepack enable
23+
24+
- name: Install dependencies
25+
run: yarn install --immutable
26+
27+
- name: Run formatter
28+
run: yarn format
29+
30+
- name: Run linter
31+
run: yarn lint
32+
33+
- name: Run tests
34+
run: yarn test

backend/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jwt.signing.key=413F4428472B4B6250655368566D5970337336763979244226452948404D6351
55
spring.application.name=cuisines
66
spring.datasource.url=jdbc:mysql://localhost:3306/cuisines-test?createDatabaseIfNotExist=true
77
spring.datasource.username=root
8-
spring.datasource.password=admin
8+
spring.datasource.password=adminadmin
99
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
1010
spring.jpa.hibernate.ddl-auto=create-drop
1111
spring.jpa.show-sql=true

0 commit comments

Comments
 (0)