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: publish-npm:
needs: build needs: build
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1

View file

@ -33,8 +33,7 @@ jobs:
run: bash <(curl -s https://codecov.io/bash) run: bash <(curl -s https://codecov.io/bash)
-f ./coverage/lcov.info -f ./coverage/lcov.info
-B ${{ github.head_ref }} -B ${{ github.head_ref }}
-C ${{ github.event.after }} -C ${{ github.sha }}
-P ${{ github.event.number }}
-Z || echo 'Codecov upload failed' -Z || echo 'Codecov upload failed'
env: env:
CI: true CI: true

2
package-lock.json generated
View file

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

View file

@ -1,6 +1,6 @@
{ {
"name": "choices.js", "name": "choices.js",
"version": "7.1.2", "version": "7.1.3",
"description": "A vanilla JS customisable text input/select box plugin", "description": "A vanilla JS customisable text input/select box plugin",
"main": "./public/assets/scripts/choices.min.js", "main": "./public/assets/scripts/choices.min.js",
"types": "./types/index.d.ts", "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", "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", "deploy": "git subtree push --prefix public origin gh-pages",
"prepush": "run-s lint test:unit bundlesize", "prepush": "run-s lint test:unit bundlesize",
"preversion": "npm test",
"postversion": "git push --no-verify --atomic", "postversion": "git push --no-verify --atomic",
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },