mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-01 13:32:45 +02:00
Further ci tweaks (#676)
* Align codecov actions
* Remove preversion
* Remove npm conditional
* 🔖 Version 7.1.3
This commit is contained in:
parent
71e64e0f52
commit
7e38f83b9e
1
.github/workflows/npmpublish.yml
vendored
1
.github/workflows/npmpublish.yml
vendored
|
@ -49,7 +49,6 @@ jobs:
|
|||
|
||||
publish-npm:
|
||||
needs: build
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
|
3
.github/workflows/unit-tests.yml
vendored
3
.github/workflows/unit-tests.yml
vendored
|
@ -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
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "choices.js",
|
||||
"version": "7.1.2",
|
||||
"version": "7.1.3",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue