Skip to content

Commit fe631bd

Browse files
committed
ci: adding a ci workflow for running tests
1 parent e78554e commit fe631bd

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## 🧰 What's being changed?
2+
3+
Describe in detail what this PR is for.
4+
5+
## 🧪 Testing
6+
7+
Provide as much information as you can on how to test what you've done.

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [10.x, 12.x, 14.x]
13+
14+
steps:
15+
- uses: actions/checkout@v2.3.2
16+
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v2.1.1
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Run tests
26+
run: npm test

0 commit comments

Comments
 (0)