Skip to content

Commit 5cd4fc2

Browse files
authoredJan 1, 2021
Move to GitHub Actions (#16)
1 parent 3728f5f commit 5cd4fc2

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed
 

‎.github/workflows/main.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Node.js ${{ matrix.node-version }}
8+
runs-on: ubuntu-latest
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
node-version:
13+
- 14
14+
- 12
15+
- 10
16+
- 8
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm install
23+
- run: npm test

‎.travis.yml

-5
This file was deleted.

‎readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# latest-version [![Build Status](https://travis-ci.org/sindresorhus/latest-version.svg?branch=master)](https://travis-ci.org/sindresorhus/latest-version)
1+
# latest-version
22

33
> Get the latest version of an npm package
44

0 commit comments

Comments
 (0)
Please sign in to comment.