Skip to content

Commit 815fd76

Browse files
committed
Add CI workflow for pull requests to master branch
1 parent 8765062 commit 815fd76

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Build
33
on:
44
push:
55
branches: ["master"]
6-
pull_request:
7-
branches: ["master"]
86
workflow_dispatch:
97

108
jobs:

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
branches: ["master"]
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Use Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 24
18+
19+
- name: Clean Install Dependencies
20+
run: npm ci
21+
22+
- name: Build project
23+
run: npm run build

0 commit comments

Comments
 (0)