Skip to content

Commit e441d9f

Browse files
committed
CI: update to GitHub Actions
1 parent 5122082 commit e441d9f

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: test
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
name: "Test on Node.js ${{ matrix.node-version }}"
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
node-version: [12, 14]
10+
steps:
11+
- name: checkout
12+
uses: actions/checkout@v2
13+
- name: setup Node.js ${{ matrix.node-version }}
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: ${{ matrix.node-version }}
17+
- name: Install
18+
run: yarn install
19+
- name: Test
20+
run: yarn test

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# textlint-rule-ja-no-weak-phrase [![Build Status](https://travis-ci.org/textlint-ja/textlint-rule-ja-no-weak-phrase.svg?branch=master)](https://travis-ci.org/textlint-ja/textlint-rule-ja-no-weak-phrase)
1+
# textlint-rule-ja-no-weak-phrase [![Actions Status: test](https://github.com/textlint-ja/textlint-rule-ja-no-weak-phrase/workflows/test/badge.svg)](https://github.com/textlint-ja/textlint-rule-ja-no-weak-phrase/actions?query=workflow%3A"test")
22

33
弱い日本語表現の利用を禁止する[textlint](http://textlint.github.io/ "textlint")ルール
44

0 commit comments

Comments
 (0)