Skip to content

Commit ff6429e

Browse files
authoredApr 23, 2021
Move to GitHub Actions (#149)
1 parent 2e3fedb commit ff6429e

File tree

5 files changed

+31
-61
lines changed

5 files changed

+31
-61
lines changed
 

‎.github/workflows/test.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Test
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
strategy:
6+
matrix:
7+
os: [ubuntu-latest, macos-latest, windows-latest]
8+
node: [6, 8, 10, 12, 14, 16]
9+
arch: [x64]
10+
include:
11+
- os: windows-latest
12+
node: 14
13+
arch: x86
14+
runs-on: ${{ matrix.os }}
15+
name: ${{ matrix.os }} / Node ${{ matrix.node }} ${{ matrix.arch }}
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v2
19+
- name: Use node ${{ matrix.node }}
20+
uses: actions/setup-node@v2
21+
with:
22+
node-version: ${{ matrix.node }}
23+
architecture: ${{ matrix.arch }}
24+
- name: Install
25+
run: npm install
26+
# Temporary step to check that we have npm 7 in the matrix
27+
- run: npm --version
28+
- name: Test
29+
run: npm test

‎.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
npm-debug.log
33
test
4+
.github

‎.travis.yml

-19
This file was deleted.

‎README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
55
[![npm](https://img.shields.io/npm/v/prebuild-install.svg)](https://www.npmjs.com/package/prebuild-install)
66
![Node version](https://img.shields.io/node/v/prebuild-install.svg)
7-
[![Build Status](https://travis-ci.org/prebuild/prebuild-install.svg?branch=master)](https://travis-ci.org/prebuild/prebuild-install)
8-
[![Build status](https://ci.appveyor.com/api/projects/status/6v6hxxwgjrr99pc8/branch/master?svg=true)](https://ci.appveyor.com/project/mathiask88/prebuild-install)
7+
[![Test](https://github.com/prebuild/prebuild-install/actions/workflows/test.yml/badge.svg)](https://github.com/prebuild/prebuild-install/actions/workflows/test.yml)
98
[![david](https://david-dm.org/prebuild/prebuild-install.svg)](https://david-dm.org/prebuild/prebuild-install)
109
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
1110

‎appveyor.yml

-40
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.