diff --git a/.github/workflows/pr_check_webapp_dotnet_windows.yml b/.github/workflows/pr_check_webapp_dotnet_windows.yml index 11d70db4..8dc2715b 100644 --- a/.github/workflows/pr_check_webapp_dotnet_windows.yml +++ b/.github/workflows/pr_check_webapp_dotnet_windows.yml @@ -71,7 +71,7 @@ jobs: - name: Installing dependencies and building latest changes run: | cd webapps-deploy - npm install + npm ci npm run package - name: Azure authentication diff --git a/.github/workflows/pr_check_windows_container_pubprofile.yml b/.github/workflows/pr_check_windows_container_pubprofile.yml index 4231c45d..86913c01 100644 --- a/.github/workflows/pr_check_windows_container_pubprofile.yml +++ b/.github/workflows/pr_check_windows_container_pubprofile.yml @@ -92,7 +92,7 @@ jobs: - name: Installing dependencies and building latest changes in action run: | cd webapps-deploy - npm install + npm ci npm run package - name: 'Deploy to Azure WebApp' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63df9e4f..6c1cab19 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,13 +85,8 @@ jobs: echo "export const VERSION = '${{ env.TAG_NAME }}';" >> src/version.ts cat src/version.ts - - name: Build TypeScript - run: npm run build - - - name: Bundle with ncc - run: | - npm install -g @vercel/ncc - ncc build lib/main.js -o dist + - name: Build and bundle + run: npm run package - name: Configure Git run: | diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index bb7e0cfe..b3f72eb0 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -74,7 +74,7 @@ jobs: cache: 'npm' - name: Install dependencies - run: npm install + run: npm ci - name: Update version file run: |