mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-26 18:42:19 +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:
|
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
|
||||||
|
|
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)
|
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
2
package-lock.json
generated
|
@ -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": {
|
||||||
|
|
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue