Skip to content

Commit c832968

Browse files
committed
chore: run CI on GitHub Actions
1 parent 125d8a5 commit c832968

File tree

3 files changed

+29
-14
lines changed

3 files changed

+29
-14
lines changed

.github/workflows/node.js.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [14.x, 16.x, 18.x]
17+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
- run: npm ci
26+
- run: npm test

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ unassertify
55

66
[![unassert][unassert-banner]][unassert-url]
77

8-
[![Build Status][travis-image]][travis-url]
8+
[![Build Status][ci-image]][ci-url]
99
[![NPM version][npm-image]][npm-url]
10-
[![Dependency Status][depstat-image]][depstat-url]
1110
[![License][license-image]][license-url]
1211

1312

@@ -154,11 +153,8 @@ Licensed under the [MIT](https://github.com/unassert-js/unassertify/blob/master/
154153
[npm-url]: https://npmjs.org/package/unassertify
155154
[npm-image]: https://badge.fury.io/js/unassertify.svg
156155

157-
[travis-url]: https://travis-ci.org/unassert-js/unassertify
158-
[travis-image]: https://secure.travis-ci.org/unassert-js/unassertify.svg?branch=master
159-
160-
[depstat-url]: https://gemnasium.com/unassert-js/unassertify
161-
[depstat-image]: https://gemnasium.com/unassert-js/unassertify.svg
156+
[ci-image]: https://github.com/unassert-js/unassertify/workflows/Node.js%20CI/badge.svg
157+
[ci-url]: https://github.com/unassert-js/unassertify/actions?query=workflow%3A%22Node.js+CI%22
162158

163159
[license-url]: https://github.com/unassert-js/unassertify/blob/master/LICENSE
164160
[license-image]: https://img.shields.io/badge/license-MIT-brightgreen.svg

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy