Skip to content

Commit 6d7b4bd

Browse files
author
Hesam Bahrami
authored
ci: adding a github action to run tests (#19)
1 parent 41685a4 commit 6d7b4bd

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
pull_request:
3+
push:
4+
branches:
5+
- master
6+
- develop
7+
8+
jobs:
9+
test:
10+
name: Test
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
15+
- uses: actions/checkout@v2
16+
17+
- name: Use Node.js v14
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: '14'
21+
check-latest: true
22+
23+
- name: Install
24+
run: yarn install
25+
26+
- name: Test
27+
run: yarn test

0 commit comments

Comments
 (0)