Skip to content

Commit

Permalink
Further ci tweaks (#676)
Browse files Browse the repository at this point in the history
* Align codecov actions

* Remove preversion

* Remove npm conditional

* 🔖 Version 7.1.3
  • Loading branch information
jshjohnson authored Oct 23, 2019
1 parent 71e64e0 commit 7e38f83
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:

publish-npm:
needs: build
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ jobs:
run: bash <(curl -s https://codecov.io/bash)
-f ./coverage/lcov.info
-B ${{ github.head_ref }}
-C ${{ github.event.after }}
-P ${{ github.event.number }}
-C ${{ github.sha }}
-Z || echo 'Codecov upload failed'
env:
CI: true
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "choices.js",
"version": "7.1.2",
"version": "7.1.3",
"description": "A vanilla JS customisable text input/select box plugin",
"main": "./public/assets/scripts/choices.min.js",
"types": "./types/index.d.ts",
Expand All @@ -26,7 +26,6 @@
"css:min": "csso public/assets/styles/base.css --output public/assets/styles/base.min.css && csso public/assets/styles/choices.css --output public/assets/styles/choices.min.css",
"deploy": "git subtree push --prefix public origin gh-pages",
"prepush": "run-s lint test:unit bundlesize",
"preversion": "npm test",
"postversion": "git push --no-verify --atomic",
"prepublishOnly": "npm run build"
},
Expand Down

0 comments on commit 7e38f83

Please sign in to comment.