Skip to content

Commit 733e3a0

Browse files
committed
add the ci workflow
1 parent bde6b36 commit 733e3a0

3 files changed

Lines changed: 3895 additions & 7897 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Node.js CI
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
push:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Use Node.js 20
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: 20.x
22+
23+
- name: Install dependencies
24+
run: yarn
25+
26+
- name: Build the project
27+
run: yarn build

0 commit comments

Comments
 (0)