Skip to content

Commit 72f399d

Browse files
committed
Initial workflow action for testing PRs and commits to master
1 parent efc1bb9 commit 72f399d

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.github/workflows/test.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
# Set to the former tested version. Should probably update this
12+
# to reflect the release schedule. https://nodejs.org/en/about/releases/
13+
node-version: [10.x, 12.x, 13.x]
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
cache: 'yarn'
21+
- run: yarn install --frozen-lockfile
22+
- run: yarn test

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cli-table3
22
===============================================================================
33

44
[![npm version](https://img.shields.io/npm/v/cli-table3.svg)](https://www.npmjs.com/package/cli-table3)
5-
[![Build Status](https://travis-ci.com/cli-table/cli-table3.svg?branch=master)](https://travis-ci.com/cli-table/cli-table3)
5+
![Build Status](https://github.com/cli-table/cli-table3/actions/workflows/test.yml/badge.svg?branch=master)
66

77
This utility allows you to render unicode-aided tables on the command line from
88
your node.js scripts.

0 commit comments

Comments
 (0)