Skip to content

Commit 6840d27

Browse files
committed
test: add environment variables in npm publish build job
1 parent c14131b commit 6840d27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/npmpublish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ jobs:
2525
npm i -g yarn
2626
yarn install
2727
yarn test:ci
28+
yarn build
2829
env:
2930
CI: true
31+
REACT_APP_PUBLIC_KEY: ${{ secrets.ik_public_key }}
32+
REACT_APP_PRIVATE_KEY: ${{ secrets.ik_private_key }}
33+
REACT_APP_URL_ENDPOINT: ${{ secrets.ik_url_endopint }}
3034

3135
publish:
3236
needs: build

0 commit comments

Comments
 (0)