Skip to content

Commit cdc203c

Browse files
authored
Feature Github Actions to help manage CI/CD integration (#14)
Feature `Github Actions` to help manage CI/CD integration
2 parents 87bbceb + 53f6c6d commit cdc203c

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+
name: Jest Test
2+
3+
on:
4+
pull_request:
5+
types: [synchronize, opened, reopened]
6+
push:
7+
branches: [main]
8+
workflow_dispatch:
9+
10+
jobs:
11+
install:
12+
name: Install and Test
13+
14+
runs-on: ubuntu-latest
15+
16+
strategy:
17+
matrix:
18+
node-version: [12.x, 14.x, 16.x]
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
23+
- name: Install
24+
run: npm ci
25+
26+
- name: Test with Jest
27+
run: npm test

0 commit comments

Comments
 (0)