Further ci tweaks (#676)

* Align codecov actions

* Remove preversion

* Remove npm conditional

* 🔖 Version 7.1.3
This commit is contained in:
Josh Johnson 2019-10-23 10:00:14 +01:00 committed by GitHub
parent 71e64e0f52
commit 7e38f83b9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 6 deletions

View file

@ -49,7 +49,6 @@ jobs:
publish-npm:
needs: build
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

View file

@ -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

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "choices.js",
"version": "7.1.2",
"version": "7.1.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View file

@ -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",
@ -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"
},