Skip to content

Commit 493f4c3

Browse files
authored
Create build.yml
1 parent ffe4184 commit 493f4c3

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Build (Pull Request)"
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
branches:
7+
- main
8+
- dev
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v3
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: '23'
22+
23+
- name: Install dependencies
24+
run: npm install
25+
26+
- name: Run build
27+
run: npm run build

0 commit comments

Comments
 (0)