Skip to content

Commit de74ac7

Browse files
Add CI workflow for pull request
1 parent c83ad34 commit de74ac7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/build.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI Workflow Build
2+
on:
3+
pull_request:
4+
types:
5+
- opened
6+
branches:
7+
- main
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: '22'
18+
- name: Install dependencies
19+
run: npm install
20+
- name: Run tests
21+
run: npm run test

0 commit comments

Comments
 (0)