diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 525ff08..cddb7b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: run: npm run ts-check unit-all-tests: - name: Run all unit tests + name: Run all units tests runs-on: ubuntu-latest needs: check-ts # Зависит от успешного завершения check-ts @@ -48,10 +48,10 @@ jobs: run: npm ci - name: Run Unit Tests - run: npm run test-unit-all + run: npm run test-run-units build: - name: Build + name: Build, Release, Publish NPM runs-on: ubuntu-latest needs: [ check-ts, unit-all-tests ] # Зависит от успешного завершения check-ts и unit-all-tests diff --git a/package.json b/package.json index 8423ac0..d4f875b 100644 --- a/package.json +++ b/package.json @@ -27,10 +27,10 @@ "ts-check": "tsc", "ts-gen-docs": "npm run build-to-deploy && npx api-extractor run", "test-ui": "cypress open", - "test-unit-all": "npx cypress run --component", - "build-local": "vite build", + "test-run-units": "npx cypress run --component", + "build": "vite build", "build-preview": "vite preview", - "build": "npm run test-unit-all && npm run build-local && npm run ts-gen-types" + "build-all-steps": "npm run test-run-units && npm run build && npm run ts-gen-types" }, "devDependencies": { "@microsoft/api-extractor": "^7.50.0",