Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit 356b4e9

Browse files
author
Christian Howe
authored
Add GitHub actions
1 parent d6efd6f commit 356b4e9

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/nodejs.yml

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

0 commit comments

Comments
 (0)