From cf66ae0d2dcb9676513fc4c8e3eda30e2def7c53 Mon Sep 17 00:00:00 2001 From: dlohvinov Date: Mon, 16 Oct 2023 18:54:51 +0300 Subject: [PATCH] upd webitel-ui [WTEL-3933], unit tests check moved to github --- .github/workflows/main.yml | 20 ++++++++++++++++++++ .husky/pre-push | 2 +- package-lock.json | 14 +++++++------- package.json | 2 +- 4 files changed, 29 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..9d0616626 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: Workspace CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '18.x' + - run: npm ci + - run: npm run test:unit diff --git a/.husky/pre-push b/.husky/pre-push index fbd0fa609..8e924e2f5 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npm run test:unit +# npm run test:unit diff --git a/package-lock.json b/package-lock.json index 2d30e4642..34a906c7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@vuelidate/validators": "^2.0.0", "@vueuse/core": "^10.3.0", "@webitel/flow-ui-sdk": "^0.1.14", - "@webitel/ui-sdk": "^23.12.16", + "@webitel/ui-sdk": "^23.12.20", "axios": "^0.27.1", "clipboard-copy": "^4.0.1", "core-js": "^3.6.4", @@ -4415,9 +4415,9 @@ } }, "node_modules/@webitel/ui-sdk": { - "version": "23.12.16", - "resolved": "https://registry.npmjs.org/@webitel/ui-sdk/-/ui-sdk-23.12.16.tgz", - "integrity": "sha512-HpTBn0tXXEH523NkaAtMlsmf53JGx2dDwd/9lqOcY5ZOoXDX3hbN4nkTI2QHhussjlP0V7mFeTUQJnvjW1jT3w==", + "version": "23.12.20", + "resolved": "https://registry.npmjs.org/@webitel/ui-sdk/-/ui-sdk-23.12.20.tgz", + "integrity": "sha512-4PbOZPvnR6vckr6YhGpHIHk49+ZL8N5KkULKvYgTf4t8sl0O1E0X/1w/neeJqPQ93ej5arP+yAucHGSg98o6AQ==", "dependencies": { "@floating-ui/vue": "^1.0.1", "@vue/compat": "^3.2.47", @@ -22646,9 +22646,9 @@ } }, "@webitel/ui-sdk": { - "version": "23.12.16", - "resolved": "https://registry.npmjs.org/@webitel/ui-sdk/-/ui-sdk-23.12.16.tgz", - "integrity": "sha512-HpTBn0tXXEH523NkaAtMlsmf53JGx2dDwd/9lqOcY5ZOoXDX3hbN4nkTI2QHhussjlP0V7mFeTUQJnvjW1jT3w==", + "version": "23.12.20", + "resolved": "https://registry.npmjs.org/@webitel/ui-sdk/-/ui-sdk-23.12.20.tgz", + "integrity": "sha512-4PbOZPvnR6vckr6YhGpHIHk49+ZL8N5KkULKvYgTf4t8sl0O1E0X/1w/neeJqPQ93ej5arP+yAucHGSg98o6AQ==", "requires": { "@floating-ui/vue": "^1.0.1", "@vue/compat": "^3.2.47", diff --git a/package.json b/package.json index 13f93c50d..82e0df156 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@vuelidate/validators": "^2.0.0", "@vueuse/core": "^10.3.0", "@webitel/flow-ui-sdk": "^0.1.14", - "@webitel/ui-sdk": "^23.12.16", + "@webitel/ui-sdk": "^23.12.20", "axios": "^0.27.1", "clipboard-copy": "^4.0.1", "core-js": "^3.6.4",