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 94a6e64 commit 57a69e0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,23 @@ jobs:
path: pkg-wasm
- name: Publish packages (wasm)
run: |
echo 'до первого контейнера, файлы:'
ls -a; \
ls -a ./pkg-wasm/pkg-web/; \
ls -a ./pkg-wasm/pkg-nodejs/; \
#=============================================================================================
docker run -v "$(pwd):/main_project" ${{ env.IMAGE_DOCKER }}:latest sh -c " \
echo 'запуск в первом контейнере, идет загрузка токенов для пакетов.'; \
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;"
echo //registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}} > ./pkg-wasm/pkg-nodejs/.npmrc; \
echo 'Результат после токенов, всё ещё первый контейнер'; \
ls -R; \"
#=============================================================================================
echo 'Результат после первого контейнера:'; \
ls -a; \
ls -R; \
docker run -v "$(pwd):/main_project" ${{ env.IMAGE_DOCKER }}:latest sh -c "
echo 'запуск во втором контейнере, идет публикация пакетов, сами файлы:'; \
ls -R; \
npm pack ./pkg-wasm/pkg-web; \
npm pack ./pkg-wasm/pkg-nodejs; \
Expand Down

0 comments on commit 57a69e0

Please sign in to comment.