We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f316743 commit e8d4128Copy full SHA for e8d4128
1 file changed
.github/workflows/publish.yml
@@ -21,8 +21,7 @@ jobs:
21
- name: Build and Test
22
run: |
23
npm install
24
- npm run build
25
- npm pack
+ npm run pack
26
cd test-app
27
28
npm install ../dist/imagekit-angular/imagekit-angular-*.tgz --no-save
@@ -45,10 +44,11 @@ jobs:
45
44
46
47
npm run build
+ cd dist/imagekit-angular
48
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
49
# print the NPM user name for validation
50
npm whoami
51
- VERSION=$(node -p "require('./projects/imagekit-angular/package.json').version" )
+ VERSION=$(node -p "require('./package.json').version" )
52
# Only publish stable versions to the latest tag
53
if [[ "$VERSION" =~ ^[^-]+$ ]]; then
54
NPM_TAG="latest"
0 commit comments