Skip to content

Commit

Permalink
build: changed config
Browse files Browse the repository at this point in the history
  • Loading branch information
m62624 committed Aug 25, 2023
1 parent 0d26e5a commit 2b2eaae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,11 @@ jobs:
path: pkg-wasm
- name: Publish packages (wasm)
run: |
#=============================================================================================
docker run -v "$(pwd):/main_project" ${{ env.IMAGE_DOCKER }}:latest sh -c " \
echo //registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}} > ./pkg-wasm/pkg-web/.npmrc; \
echo //registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}} > ./pkg-wasm/pkg-nodejs/.npmrc;"
#=============================================================================================
docker run -v "$(pwd):/main_project" ${{ env.IMAGE_DOCKER }}:latest sh -c "
npm pack ./pkg-wasm/pkg-web; \
npm pack ./pkg-wasm/pkg-nodejs; \
echo //registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}} > ./pkg-wasm/pkg-web/.npmrc; \
npm publish ${{ secrets.NAME_LOGIN }}-flexible_inspect_js_web*.tgz --access public; \
npm publish ${{ secrets.NAME_LOGIN }}-flexible_inspect_js_node*.tgz --access public;"
Expand Down

0 comments on commit 2b2eaae

Please sign in to comment.