Skip to content

Commit 1a9cb8d

Browse files
authored
Merge pull request #3 from andre487/update
Update
2 parents 9b53841 + 98d313e commit 1a9cb8d

File tree

5 files changed

+624
-1013
lines changed

5 files changed

+624
-1013
lines changed

.github/workflows/ci.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: ["master"]
6+
push:
7+
branches: ["master"]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
node: [20, 22]
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: ${{ matrix.node }}
26+
cache: npm
27+
28+
- name: Install deps
29+
run: npm ci
30+
31+
- name: Run tests
32+
run: npm test
33+

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Remove garbage params from url (like utm_source)
44

5-
[![Build Status](https://travis-ci.org/andre487/node-link-cleaner.svg?branch=master)](https://travis-ci.org/andre487/node-link-cleaner)
5+
[![CI](https://github.com/andre487/node-link-cleaner/actions/workflows/ci.yaml/badge.svg)](https://github.com/andre487/node-link-cleaner/actions/workflows/ci.yaml)
66

77
```
88
npm install --save link-cleaner

0 commit comments

Comments
 (0)