Skip to content

Commit 2f59306

Browse files
committed
build: added CI/CD yaml for pull-requests
1 parent 098a630 commit 2f59306

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/pull-request.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: pull-request
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
name: Build & Test
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out the source code
14+
uses: actions/checkout@v2
15+
16+
- name: Set up NodeJS
17+
uses: actions/setup-node@v1
18+
19+
- name: Install dependencies
20+
run: npm install
21+
22+
- name: Run tests
23+
run: npm test

0 commit comments

Comments
 (0)