Skip to content

Commit b76274e

Browse files
authored
Merge pull request #96 from imagekit-developer/SDK-68
updated publish ci
2 parents 5e139b5 + 053f95b commit b76274e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
npm run server &
2929
cd ../../../
3030
npm run test:ci
31+
npm run build
3132
env:
3233
CI: true
3334
PUBLIC_KEY: ${{ secrets.ik_public_key }}

.github/workflows/npmpublish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ jobs:
2525
npm install -g @angular/[email protected]
2626
cd sdk
2727
npm install
28-
npm run test
28+
cd tests/test-apps/sample-server
29+
echo PRIVATE_KEY=${{ secrets.ik_private_key }} >> .env;
30+
npm install
31+
npm run server &
32+
cd ../../../
33+
npm run test:ci
2934
npm run build
3035
env:
3136
CI: true

0 commit comments

Comments
 (0)