Skip to content

Commit 8ea099c

Browse files
committed
CI/CD: add frontend ci/cd
1 parent 462c2d0 commit 8ea099c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/frontend.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Frontend
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
8+
jobs:
9+
lint-and-test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Use Node.js
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: lts/*
17+
18+
- name: Install dependencies
19+
run: npm i -g pnpm && pnpm i
20+
21+
- name: Run linter
22+
run: pnpm run lint
23+
24+
- name: Run build
25+
run: pnpm run build

0 commit comments

Comments
 (0)