Skip to content

Commit 2ffeae1

Browse files
authored
Create ci.yml
1 parent 70c8975 commit 2ffeae1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Unit-Test-CI
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
# Steps represent a sequence of tasks that will be executed as part of the job
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Install modules
20+
run: npm install
21+
- name: Run tests
22+
run: npm run test

0 commit comments

Comments
 (0)