From 160c3ac39c5080ccc07649b60fc93f1162ce7ccc Mon Sep 17 00:00:00 2001 From: Daniel Jonathan Date: Sat, 29 Jun 2024 09:24:43 -0400 Subject: [PATCH] updated build references --- .github/workflows/dev-pull-request.yml | 26 ------------------- .../{dev-push.yml => develop-push.yml} | 0 .github/workflows/release-pull-request.yml | 26 ------------------- package.json | 4 +-- 4 files changed, 2 insertions(+), 54 deletions(-) delete mode 100644 .github/workflows/dev-pull-request.yml rename .github/workflows/{dev-push.yml => develop-push.yml} (100%) delete mode 100644 .github/workflows/release-pull-request.yml 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",