Skip to content

Commit f627ebb

Browse files
CI/CD update
1 parent 2efaf47 commit f627ebb

3 files changed

Lines changed: 50 additions & 5 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call:
55

66
jobs:
7-
prettier:
7+
build:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout code

.github/workflows/code-quality.yaml

Lines changed: 48 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,55 @@ on:
77

88
jobs:
99
prettier:
10-
uses: ./.github/workflows/prettier.yaml
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
20+
- name: Install dependencies
21+
run: npm ci
22+
23+
- name: Run Prettier check
24+
run: npx prettier --check .
25+
1126

1227
eslint:
13-
uses: /.github/workflows/eslint.yaml
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout code
31+
uses: actions/checkout@v4
32+
33+
- name: Set up Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: 20
37+
cache: npm
38+
39+
- name: Install dependencies
40+
run: npm ci
41+
42+
- name: Run Eslint Check
43+
run: npx eslint .
1444

1545
build:
16-
uses: /.github/workflows/build.yaml
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: Checkout code
49+
uses: actions/checkout@v4
50+
51+
- name: Set up Node.js
52+
uses: actions/setup-node@v4
53+
with:
54+
node-version: 20
55+
cache: npm
56+
57+
- name: Install dependencies
58+
run: npm ci
59+
60+
- name: Run Build
61+
run: npm run build

.github/workflows/eslint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call
55

66
jobs:
7-
prettier:
7+
eslint:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout code

0 commit comments

Comments
 (0)