Skip to content

Commit 36ba9aa

Browse files
adding ci-cd
1 parent 23a6141 commit 36ba9aa

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build code
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name : Checkout code
13+
- uses: action/checkout@v3
14+
15+
- name: Install Node
16+
- uses: action/setup-node@v3
17+
with:
18+
node-version: 20.4.1
19+
20+
- name: Install Dependencies
21+
run: npm install
22+
23+
- name: Build code
24+
run: npm run build

0 commit comments

Comments
 (0)