Skip to content

Commit

Permalink
ci: adding a ci workflow for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Aug 31, 2020
1 parent e78554e commit fe631bd
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## 🧰 What's being changed?

Describe in detail what this PR is for.

## 🧪 Testing

Provide as much information as you can on how to test what you've done.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/[email protected]

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test

0 comments on commit fe631bd

Please sign in to comment.