Skip to content

Commit 2c4528c

Browse files
Merge pull request #130 from technote-space/release/v1.4.4
Release/v1.4.4
2 parents 203fbbc + 1a53544 commit 2c4528c

File tree

11 files changed

+120
-125
lines changed

11 files changed

+120
-125
lines changed

.github/workflows/check_version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
- name: Check package version
1212
uses: technote-space/package-version-check-action@v1
1313
with:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14+
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
1515
TEST_TAG_PREFIX: test/
1616
BRANCH_PREFIX: release/

.github/workflows/ci.yml

Lines changed: 74 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,74 @@
1-
on:
2-
pull_request:
3-
push:
4-
branches:
5-
- master
6-
tags:
7-
- "!*"
8-
9-
name: Build
10-
11-
jobs:
12-
eslint:
13-
name: ESLint
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v1
17-
with:
18-
fetch-depth: 3
19-
- name: Install Package dependencies
20-
run: yarn install
21-
- name: Check code style
22-
run: yarn lint
23-
- uses: 8398a7/action-slack@v1
24-
with:
25-
type: failure
26-
env:
27-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
29-
if: failure()
30-
31-
jest:
32-
name: Jest
33-
needs: eslint
34-
runs-on: ubuntu-latest
35-
strategy:
36-
matrix:
37-
node: ['8', '10', '11', '12']
38-
steps:
39-
- uses: actions/checkout@v1
40-
with:
41-
fetch-depth: 3
42-
- name: Setup node
43-
uses: actions/setup-node@v1
44-
with:
45-
node-version: ${{ matrix.node }}
46-
- name: Install Package dependencies
47-
run: yarn install
48-
- name: Run tests
49-
run: yarn cover
50-
- name: Codecov
51-
run: curl -s https://codecov.io/bash | bash -s -- -t $CODECOV_TOKEN -f $COVERAGE_FILE
52-
env:
53-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
54-
COVERAGE_FILE: ./coverage/lcov.info
55-
- uses: 8398a7/action-slack@v1
56-
with:
57-
type: failure
58-
env:
59-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
61-
if: failure()
62-
63-
slack:
64-
name: Slack
65-
needs: jest
66-
runs-on: ubuntu-latest
67-
steps:
68-
- uses: 8398a7/action-slack@v1
69-
with:
70-
type: success
71-
env:
72-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
1+
on:
2+
pull_request:
3+
push:
4+
branches:
5+
- master
6+
tags:
7+
- "!*"
8+
9+
name: Build
10+
11+
jobs:
12+
eslint:
13+
name: ESLint
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v1
17+
with:
18+
fetch-depth: 3
19+
- name: Install Package dependencies
20+
run: yarn install
21+
- name: Check code style
22+
run: yarn lint
23+
- uses: 8398a7/action-slack@v1
24+
with:
25+
type: failure
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
29+
if: failure()
30+
31+
jest:
32+
name: Jest
33+
needs: eslint
34+
runs-on: ubuntu-latest
35+
strategy:
36+
matrix:
37+
node: ['8', '10', '11', '12']
38+
steps:
39+
- uses: actions/checkout@v1
40+
with:
41+
fetch-depth: 3
42+
- name: Setup node
43+
uses: actions/setup-node@v1
44+
with:
45+
node-version: ${{ matrix.node }}
46+
- name: Install Package dependencies
47+
run: yarn install
48+
- name: Run tests
49+
run: yarn cover
50+
- name: Codecov
51+
run: curl -s https://codecov.io/bash | bash -s -- -t $CODECOV_TOKEN -f $COVERAGE_FILE
52+
env:
53+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
54+
COVERAGE_FILE: ./coverage/lcov.info
55+
if: matrix.node == '12'
56+
- uses: 8398a7/action-slack@v1
57+
with:
58+
type: failure
59+
env:
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
62+
if: failure()
63+
64+
slack:
65+
name: Slack
66+
needs: jest
67+
runs-on: ubuntu-latest
68+
steps:
69+
- uses: 8398a7/action-slack@v1
70+
with:
71+
type: success
72+
env:
73+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

.github/workflows/project_card_moved.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
on: project_card
1+
on:
2+
project_card:
3+
types: [moved]
24
name: Project Card Event
35
jobs:
46
triage:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Check package version
1818
uses: technote-space/package-version-check-action@v1
1919
with:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
2121
- name: Install Package dependencies
2222
run: yarn install
2323
- name: Test
@@ -106,7 +106,7 @@ jobs:
106106
- name: Upload
107107
uses: technote-fork/action-gh-release@v1
108108
with:
109-
files: jquery.marker-animation.min.js
109+
files: build/index.js
110110
draft: true
111111
env:
112112
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ jobs:
88
- name: TOC Generator
99
uses: technote-space/toc-generator@v1
1010
with:
11-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11+
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
1212
TARGET_PATHS: 'README.md,README.ja.md'

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
node_modules/
22
/coverage
33
/.idea
4-
/jquery.marker-animation.min.js
4+
/build
55
/travis-ci
66
/gh-pages
77
.work/

.npmignore

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

README.ja.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
- [スクリーンショット](#%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88)
2121
- [動作](#%E5%8B%95%E4%BD%9C)
2222
- [Installation](#installation)
23-
- [ダウンロードして利用](#%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89%E3%81%97%E3%81%A6%E5%88%A9%E7%94%A8)
2423
- [npmから利用](#npm%E3%81%8B%E3%82%89%E5%88%A9%E7%94%A8)
24+
- [ダウンロードして利用](#%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89%E3%81%97%E3%81%A6%E5%88%A9%E7%94%A8)
2525
- [WordPressで利用](#wordpress%E3%81%A7%E5%88%A9%E7%94%A8)
2626
- [基本的な使用方法](#%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95)
2727
- [オプション](#%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3)
@@ -43,19 +43,20 @@
4343
![動作](https://raw.githubusercontent.com/technote-space/jquery.marker-animation/images/marker-animation.gif)
4444

4545
## Installation
46-
### ダウンロードして利用
47-
[リリースバージョン](https://github.com/technote-space/jquery.marker-animation/releases/latest/download/jquery.marker-animation.min.js)をダウンロードして
48-
```html
49-
<script type="text/javascript" src="/assets/jquery.marker-animation.min.js"></script>
50-
```
51-
のように読み込む
5246
### npmから利用
5347
https://www.npmjs.com/package/jquery.marker-animation
5448

5549
```bash
5650
npm install --save jquery.marker-animation
5751
```
5852

53+
### ダウンロードして利用
54+
[リリースバージョン](https://github.com/technote-space/jquery.marker-animation/releases/latest/download/index.js)をダウンロードして
55+
```html
56+
<script type="text/javascript" src="/assets/jquery.marker-animation/index.js"></script>
57+
```
58+
のように読み込む
59+
5960
### WordPressで利用
6061
プラグインとして利用できるようにしました。
6162

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jQuery plugin to add under line animation like highlighter.
2020
- [Screenshot](#screenshot)
2121
- [Behavior](#behavior)
2222
- [Installation](#installation)
23-
- [Use from download](#use-from-download)
24-
- [Use from npm](#use-from-npm)
25-
- [for WordPress](#for-wordpress)
23+
- [npm](#npm)
24+
- [Browser](#browser)
25+
- [WordPress](#wordpress)
2626
- [Usage](#usage)
2727
- [Options](#options)
2828
- [color](#color)
@@ -43,19 +43,20 @@ jQuery plugin to add under line animation like highlighter.
4343
![Behavior](https://raw.githubusercontent.com/technote-space/jquery.marker-animation/images/marker-animation.gif)
4444

4545
## Installation
46-
### Use from download
47-
Download [Release version](https://github.com/technote-space/jquery.marker-animation/releases/latest/download/jquery.marker-animation.min.js) and enqueue script.
48-
```html
49-
<script type="text/javascript" src="/assets/jquery.marker-animation.min.js"></script>
50-
```
51-
### Use from npm
46+
### npm
5247
https://www.npmjs.com/package/jquery.marker-animation
5348

5449
```bash
5550
npm install --save jquery.marker-animation
5651
```
5752

58-
### for WordPress
53+
### Browser
54+
Download [Release version](https://github.com/technote-space/jquery.marker-animation/releases/latest/download/index.js) and enqueue script.
55+
```html
56+
<script type="text/javascript" src="/assets/jquery.marker-animation/index.js"></script>
57+
```
58+
59+
### WordPress
5960
[GitHub](https://github.com/technote-space/marker-animation)
6061

6162
## Usage

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
22
"name": "jquery.marker-animation",
3-
"version": "1.4.3",
3+
"version": "1.4.4",
44
"description": "Marker animation jQuery plugin",
5-
"main": "jquery.marker-animation.min.js",
5+
"main": "build/index.js",
6+
"files": [
7+
"build"
8+
],
69
"scripts": {
710
"start": "yarn build",
811
"test": "yarn lint && yarn cover",

0 commit comments

Comments
 (0)