Skip to content

Commit fc280e1

Browse files
authored
chore: Add CI to test the build (#54)
1 parent e411396 commit fc280e1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
push:
7+
branches:
8+
- main
9+
10+
jobs:
11+
ci:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
cache: "npm"
18+
node-version: "16"
19+
20+
- name: Install dependencies
21+
run: npm ci
22+
23+
- name: Build code
24+
run: |
25+
npm run build

0 commit comments

Comments
 (0)