From 0e7048542c090106bb66ac88e66abd6689de3bf8 Mon Sep 17 00:00:00 2001 From: zFernand0 <37381190+zFernand0@users.noreply.github.com> Date: Thu, 8 Feb 2024 13:47:25 +0000 Subject: [PATCH] test: Add an NPM shwrinkwrap file to the CLI plug-in This should make the CI/CD and manua/local publishing of all packages in this monorepo Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> --- .github/workflows/main.yml | 2 +- packages/cli/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e902cffa..30e92210 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -126,7 +126,7 @@ jobs: - name: Build Source run: npm run build - - uses: zowe-actions/octorelease@fix/prerel-independent-version + - uses: zowe-actions/octorelease@v1 env: GIT_COMMITTER_NAME: ${{ secrets.ZOWE_ROBOT_USER }} GIT_COMMITTER_EMAIL: ${{ secrets.ZOWE_ROBOT_EMAIL }} diff --git a/packages/cli/package.json b/packages/cli/package.json index 3b742f48..9096d312 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -32,7 +32,7 @@ "prebuild": "npm run clean && echo Using TypeScript && tsc --version", "clean": "rimraf lib", "watch": "tsc --pretty --watch", - "prepublishOnly": "npm run build", + "prepublishOnly": "npm run build && npm run preshrinkwrap", "lint": "eslint \"src/**/*.ts\" \"**/__tests__/**/*.ts\"", "lint:src": "eslint \"src/**/*.ts\" --ignore-pattern \"**/__tests__/**/*.ts\"", "lint:tests": "eslint \"**/__tests__/**/*.ts\"",