Skip to content

Commit

Permalink
CI: update node versions (#144)
Browse files Browse the repository at this point in the history
* CI: update node versions

* CI: add matrix

* docs: add badge

* chore: packageManager
  • Loading branch information
azu authored Oct 9, 2022
1 parent 6c723f6 commit 89f0f9d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 36 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: test
on: [push, pull_request]
jobs:
test:
name: "Test on Node.js ${{ matrix.node-version }} ${{ matrix.os }}"
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [ 14, 16, 18 ]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install
- name: Test
run: yarn test
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

5 changes: 1 addition & 4 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

[![textlint rule](https://img.shields.io/badge/textlint-fixable-green.svg?style=social)](https://textlint.github.io/)
[![npm](https://img.shields.io/npm/v/textlint-rule-no-dead-link.svg)](https://www.npmjs.com/package/textlint-rule-no-dead-link)
[![Build Status](https://travis-ci.org/textlint-rule/textlint-rule-no-dead-link.svg?branch=master)](https://travis-ci.org/textlint-rule/textlint-rule-no-dead-link)
[![Build status](https://ci.appveyor.com/api/projects/status/mkllnrt580c33hcw/branch/master?svg=true)](https://ci.appveyor.com/project/textlintrule/textlint-rule-no-dead-link/branch/master)
[![Dependency Status](https://david-dm.org/textlint-rule/textlint-rule-no-dead-link.svg)](https://david-dm.org/textlint-rule/textlint-rule-no-dead-link)
[![devDependency Status](https://david-dm.org/textlint-rule/textlint-rule-no-dead-link/dev-status.svg)](https://david-dm.org/textlint-rule/textlint-rule-no-dead-link#info=devDependencies)
[![test](https://github.com/textlint-rule/textlint-rule-no-dead-link/actions/workflows/test.yml/badge.svg)](https://github.com/textlint-rule/textlint-rule-no-dead-link/actions/workflows/test.yml)

[textlint](https://github.com/textlint/textlint) rule
to make sure every link in a document is available.
Expand Down
22 changes: 0 additions & 22 deletions appveyor.yml

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,6 @@
},
"engines": {
"node": ">=4"
}
},
"packageManager": "[email protected]"
}

0 comments on commit 89f0f9d

Please sign in to comment.