diff --git a/.github/workflows/dev-pull-request.yml b/.github/workflows/dev-pull-request.yml deleted file mode 100644 index 514163d..0000000 --- a/.github/workflows/dev-pull-request.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Development Pull Request - -on: - pull_request: - branches: - - develop - -jobs: - lint: - uses: cosmicmind/github-actions/.github/workflows/lint.yml@release - secrets: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - codeql: - uses: cosmicmind/github-actions/.github/workflows/codeql.yml@release - build: - uses: cosmicmind/github-actions/.github/workflows/lib-build.yml@release - with: - BUILD_TARGET: develop - NODE_ENV: development - VITE_MODE: test - test: - uses: cosmicmind/github-actions/.github/workflows/lib-build.yml@release - with: - BUILD_TARGET: test - NODE_ENV: development - VITE_MODE: test diff --git a/.github/workflows/dev-push.yml b/.github/workflows/develop-push.yml similarity index 100% rename from .github/workflows/dev-push.yml rename to .github/workflows/develop-push.yml diff --git a/.github/workflows/release-pull-request.yml b/.github/workflows/release-pull-request.yml deleted file mode 100644 index c4f4539..0000000 --- a/.github/workflows/release-pull-request.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Release Pull Request - -on: - pull_request: - branches: - - release - -jobs: - lint: - uses: cosmicmind/github-actions/.github/workflows/lint.yml@release - secrets: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - codeql: - uses: cosmicmind/github-actions/.github/workflows/codeql.yml@release - build: - uses: cosmicmind/github-actions/.github/workflows/lib-build.yml@release - with: - BUILD_TARGET: develop - NODE_ENV: development - VITE_MODE: test - test: - uses: cosmicmind/github-actions/.github/workflows/lib-build.yml@release - with: - BUILD_TARGET: test - NODE_ENV: development - VITE_MODE: test \ No newline at end of file diff --git a/package.json b/package.json index 573d16b..40fe49a 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ ], "scripts": { "lint": "eslint --fix --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts", - "build": "run-s build:lib", - "build:lib": "vite build --config vite.config.ts --mode ${VITE_MODE:-production}", + "release": "run-s release:lib", + "release:lib": "vite build --config vite.config.ts --mode ${VITE_MODE:-production}", "develop": "run-s develop:lib", "develop:lib": "vite build --config vite.config.ts --mode ${VITE_MODE:-development}", "watch": "run-p watch:lib",