diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index ef8c690..10d0596 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,7 +1,7 @@ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages -name: Node.js Package +name: Publish on: release: @@ -30,4 +30,4 @@ jobs: - run: npm ci - run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5a5634b..aff841a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [14.x, 16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -27,6 +27,4 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm ci - # - run: npm run build --if-present - # - run: npm install - run: npm test diff --git a/README.md b/README.md index c066ece..fd2a9d1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Vue.js Sirv Media Viewer +[![Test](https://github.com/Mefistosss/vue-js-sirv-viewer/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/Mefistosss/vue-js-sirv-viewer/actions/workflows/test.yml) + Easy to use, highly customizable Vue.js Sirv Media Viewer library. Copy and paste this script anywhere in your HTML, usually before `````` diff --git a/demo/package.json b/demo/package.json index 977142a..684be64 100644 --- a/demo/package.json +++ b/demo/package.json @@ -1,6 +1,6 @@ { "name": "demo", - "version": "1.0.0-beta2", + "version": "1.0.0", "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", diff --git a/jest.config.js b/jest.config.js index d8bf8a8..94b943d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,5 @@ const config = { bail: true, - verbose: true, preset: '@vue/cli-plugin-unit-jest', transform: { "^.+\\.vue$": "@vue/vue3-jest" diff --git a/package.json b/package.json index 5bd820f..1fa5bb2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-js-sirv-viewer", - "version": "1.0.0-beta2", + "version": "1.0.0-beta.3", "description": "Sirv Media Viewer for Vue.js", "author": "sergey ", "scripts": {