Skip to content

Commit 9b50cff

Browse files
Merge branch 'release/v1.4.0' into feature/#114
2 parents eb78716 + a97b4f1 commit 9b50cff

File tree

3 files changed

+73
-1
lines changed

3 files changed

+73
-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: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,62 @@ 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+
40+
pages:
41+
name: Publish GitHub Pages
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: Checkout
45+
uses: actions/checkout@master
46+
with:
47+
fetch-depth: 3
48+
- name: Build
49+
run: |
50+
git clone --depth=1 https://github.com/wp-content-framework/travis-ci.git travis-ci
51+
bash travis-ci/bin/deploy/gh-pages.sh
52+
env:
53+
CI: 1
54+
TRAVIS_BUILD_DIR: ${{ github.workspace }}
55+
GH_PAGES_TITLE: jQuery Marker Animation
56+
GH_PAGES_TRACKING_ID: UA-78163306-3
57+
- name: Deploy
58+
uses: JamesIves/github-pages-deploy-action@master
59+
env:
60+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
61+
BRANCH: gh-pages
62+
FOLDER: gh-pages
63+
864
releases:
965
name: Upload build files
1066
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)