Skip to content

Commit 3d24d6d

Browse files
committed
feat: add web-embed GH actions
1 parent cde8718 commit 3d24d6d

File tree

2 files changed

+45
-2
lines changed

2 files changed

+45
-2
lines changed

.github/workflows/react.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
- name: Install dependencies
3434
run: npm ci
3535

36-
- name: Test formatting
36+
- name: Formatting
3737
run: npm run test:format
3838

39-
- name: Test types
39+
- name: Types
4040
run: npm run test:types

.github/workflows/web.yaml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Web
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- web/**
9+
- .github/workflows/web.yaml
10+
pull_request:
11+
branches:
12+
- main
13+
paths:
14+
- web/**
15+
- .github/workflows/web.yaml
16+
17+
jobs:
18+
test:
19+
runs-on: ubuntu-latest
20+
defaults:
21+
run:
22+
working-directory: web
23+
24+
steps:
25+
- name: Checkout code
26+
uses: actions/checkout@v4
27+
28+
- name: Set up Node.js
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: "22"
32+
33+
- name: Install dependencies
34+
run: npm ci
35+
36+
- name: Formatting
37+
run: npm run test:format
38+
39+
- name: Types
40+
run: npm run test:types
41+
42+
- name: Unit tests
43+
run: npm run test:unit

0 commit comments

Comments
 (0)