From 26869b8ef6b441351d57b1390f6eda526392bcb2 Mon Sep 17 00:00:00 2001 From: Technote Date: Thu, 26 Sep 2019 01:42:32 +0900 Subject: [PATCH 1/4] Add files via upload --- .github/workflows/check_version.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/check_version.yml diff --git a/.github/workflows/check_version.yml b/.github/workflows/check_version.yml new file mode 100644 index 0000000..c9f8a25 --- /dev/null +++ b/.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/ From 887b5a223a018b1e7f4146d2f8b01f87d7e5a385 Mon Sep 17 00:00:00 2001 From: Technote Date: Thu, 26 Sep 2019 01:50:30 +0900 Subject: [PATCH 2/4] Update release.yml --- .github/workflows/release.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7561fec..771e68b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,3 +2,37 @@ on: push: tags: - 'v*' +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() From 3a983b8d808eb427046f1a274e143ff1adfb2217 Mon Sep 17 00:00:00 2001 From: Technote Date: Thu, 26 Sep 2019 01:51:09 +0900 Subject: [PATCH 3/4] Update release.yml --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7561fec..0a5899b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,3 +2,29 @@ on: push: tags: - 'v*' +name: Release + +jobs: + 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 From 8442d2c691f427dbb5d483e5a0a25073a288950f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Sep 2019 16:57:30 +0000 Subject: [PATCH 4/4] feat: Update package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 418698c..2528dc4 100644 --- a/package.json +++ b/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": {