Skip to content

Commit 4327e14

Browse files
Merge branch 'release/v1.4.0' into feature/#113
2 parents 3a983b8 + affb9d3 commit 4327e14

File tree

3 files changed

+49
-1
lines changed

3 files changed

+49
-1
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on: push
2+
name: Check package version
3+
jobs:
4+
checkVersion:
5+
name: Check package version
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v1
9+
with:
10+
fetch-depth: 3
11+
- name: Check package version
12+
uses: technote-space/ga-package-version-checker@v1
13+
with:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
TEST_TAG_PREFIX: test/
16+
BRANCH_PREFIX: release/

.github/workflows/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,38 @@ on:
55
name: Release
66

77
jobs:
8+
release:
9+
name: Publish Package
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@master
14+
with:
15+
fetch-depth: 3
16+
- name: Check package version
17+
uses: technote-space/ga-package-version-checker@v1
18+
with:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
- name: Install Package dependencies
21+
run: yarn install
22+
- name: Test
23+
run: yarn test
24+
- name: Build
25+
run: yarn build
26+
- name: Publish
27+
uses: actions/npm@master
28+
env:
29+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
30+
with:
31+
args: publish
32+
- uses: 8398a7/action-slack@v1
33+
with:
34+
type: failure
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
38+
if: failure()
39+
840
pages:
941
name: Publish GitHub Pages
1042
runs-on: ubuntu-latest

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery.marker-animation",
3-
"version": "1.3.18",
3+
"version": "1.4.0",
44
"description": "Marker animation jQuery plugin",
55
"main": "jquery.marker-animation.min.js",
66
"scripts": {

0 commit comments

Comments
 (0)