Skip to content

Commit

Permalink
Merge branch 'release/v1.4.0' into feature/#114
Browse files Browse the repository at this point in the history
  • Loading branch information
technote-space committed Sep 25, 2019
2 parents eb78716 + a97b4f1 commit 9b50cff
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/check_version.yml
@@ -0,0 +1,16 @@
on: push
name: Check package version
jobs:
checkVersion:
name: Check package version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 3
- name: Check package version
uses: technote-space/ga-package-version-checker@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TEST_TAG_PREFIX: test/
BRANCH_PREFIX: release/
56 changes: 56 additions & 0 deletions .github/workflows/release.yml
Expand Up @@ -5,6 +5,62 @@ on:
name: Release

jobs:
release:
name: Publish Package
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 3
- name: Check package version
uses: technote-space/ga-package-version-checker@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Package dependencies
run: yarn install
- name: Test
run: yarn test
- name: Build
run: yarn build
- name: Publish
uses: actions/npm@master
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
with:
args: publish
- uses: 8398a7/action-slack@v1
with:
type: failure
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: failure()

pages:
name: Publish GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 3
- name: Build
run: |
git clone --depth=1 https://github.com/wp-content-framework/travis-ci.git travis-ci
bash travis-ci/bin/deploy/gh-pages.sh
env:
CI: 1
TRAVIS_BUILD_DIR: ${{ github.workspace }}
GH_PAGES_TITLE: jQuery Marker Animation
GH_PAGES_TRACKING_ID: UA-78163306-3
- name: Deploy
uses: JamesIves/github-pages-deploy-action@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: gh-pages

releases:
name: Upload build files
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jquery.marker-animation",
"version": "1.3.18",
"version": "1.4.0",
"description": "Marker animation jQuery plugin",
"main": "jquery.marker-animation.min.js",
"scripts": {
Expand Down

0 comments on commit 9b50cff

Please sign in to comment.