Skip to content

Commit f55391c

Browse files
committed
Add CI workflow for main branch with Node setup and Prettier check
1 parent 79b01d9 commit f55391c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/main.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: main-ci
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout repo
12+
uses: actions/checkout@v4
13+
14+
- name: Setup Node
15+
uses: actions/setup-node@v4
16+
17+
- name: Install dependencies
18+
run: |
19+
node -v
20+
npm -v
21+
npm ci --no-fund
22+
23+
- name: Check Prettier
24+
run: npm run check-format

0 commit comments

Comments
 (0)