From 19f1c2a3e3a5aba677fa9c83d02f863a321cd6f8 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 22 Jul 2024 20:44:09 +0300 Subject: [PATCH] fix build for view engine --- .github/workflows/publish-on-npm-view-engine.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-on-npm-view-engine.yml b/.github/workflows/publish-on-npm-view-engine.yml index 761c7b2..d94050d 100644 --- a/.github/workflows/publish-on-npm-view-engine.yml +++ b/.github/workflows/publish-on-npm-view-engine.yml @@ -31,7 +31,7 @@ jobs: target-branch: "angular8" - name: 'Build' - run: npm run build + run: ng build - name: "Ship the README.md with the library build" run: cp ./README.md ./dist/ngx-image-compress/README.md @@ -39,7 +39,7 @@ jobs: - name: "Ship the LICENSE" run: cp ./LICENSE ./dist/ngx-image-compress/LICENSE - - name: "Publish the library on npm" + - name: "Publish the library on npm with tag view-engine" working-directory: ./dist/ngx-image-compress env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}