Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
chore(ci): disable version check
Browse files Browse the repository at this point in the history
  • Loading branch information
prescottprue committed Jun 16, 2020
1 parent 6a62a7b commit 3ca291b
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,19 @@ jobs:
# run: |
# yarn test

- name: Check version changes
uses: EndBug/version-check@v1
id: check
# - name: Check version changes
# uses: EndBug/version-check@v1
# id: check
# with:
# diff-search: true
# token: ${{ secrets.GITHUB_TOKEN }}

- name: Version update detected
if: steps.check.outputs.changed == 'true'
# if: steps.check.outputs.changed == 'true'
run: 'echo "Version change found! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"'

- name: Publish
if: steps.check.outputs.changed == 'true'
# if: steps.check.outputs.changed == 'true'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
GITHUB_REF: ${{ github.ref }}
Expand All @@ -64,7 +67,8 @@ jobs:
# run: bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info

- name: Create Release
if: github.ref == 'refs/heads/master' && steps.check.outputs.changed == 'true'
# if: github.ref == 'refs/heads/master' && steps.check.outputs.changed == 'true'
if: github.ref == 'refs/heads/master'
id: create_release
uses: actions/create-release@latest
env:
Expand Down

0 comments on commit 3ca291b

Please sign in to comment.