Skip to content

Commit a7c6abc

Browse files
committed
chore: replace travis with github workflows
1 parent 9b9246e commit a7c6abc

File tree

3 files changed

+28
-20
lines changed

3 files changed

+28
-20
lines changed

.github/workflows/ci.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
unit:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: ['18', '20', '22']
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
21+
- run: npm ci
22+
23+
- run: npm run lint
24+
25+
- run: npm test

.travis.yml

-12
This file was deleted.

README.md

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
# cross-spawn
22

3-
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Build status][appveyor-image]][appveyor-url] [![Coverage Status][codecov-image]][codecov-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url]
3+
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Build status][appveyor-image]][appveyor-url] [![Coverage Status][codecov-image]][codecov-url]
44

55
[npm-url]:https://npmjs.org/package/cross-spawn
66
[downloads-image]:https://img.shields.io/npm/dm/cross-spawn.svg
77
[npm-image]:https://img.shields.io/npm/v/cross-spawn.svg
8-
[travis-url]:https://travis-ci.org/moxystudio/node-cross-spawn
9-
[travis-image]:https://img.shields.io/travis/moxystudio/node-cross-spawn/master.svg
8+
[ci-url]:https://github.com/moxystudio/cross-spawn/actions/workflows/ci.yaml
9+
[ci-image]:https://github.com/moxystudio/node-cross-spawn/actions/workflows/ci.yaml/badge.svg
1010
[appveyor-url]:https://ci.appveyor.com/project/satazor/node-cross-spawn
1111
[appveyor-image]:https://img.shields.io/appveyor/ci/satazor/node-cross-spawn/master.svg
1212
[codecov-url]:https://codecov.io/gh/moxystudio/node-cross-spawn
1313
[codecov-image]:https://img.shields.io/codecov/c/github/moxystudio/node-cross-spawn/master.svg
14-
[david-dm-url]:https://david-dm.org/moxystudio/node-cross-spawn
15-
[david-dm-image]:https://img.shields.io/david/moxystudio/node-cross-spawn.svg
16-
[david-dm-dev-url]:https://david-dm.org/moxystudio/node-cross-spawn?type=dev
17-
[david-dm-dev-image]:https://img.shields.io/david/dev/moxystudio/node-cross-spawn.svg
1814

1915
A cross platform solution to node's spawn and spawnSync.
2016

21-
2217
## Installation
2318

2419
Node.js version 8 and up:

0 commit comments

Comments
 (0)