From 34dbd06a18cdc592424a00da550894aaa5e28a5d Mon Sep 17 00:00:00 2001 From: David Herman Date: Sun, 10 Sep 2023 11:26:33 -0700 Subject: [PATCH] start the proxy, determine the tarball to publish --- .github/workflows/ci.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9cc451a..0e9e8f19 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,13 +77,19 @@ jobs: run: | cd ./pkgs/cargo-messages/dist ls -alF - # - name: Start npm Proxy - # shell: bash - # run: ./proxy.sh - # working-directory: ./test/integration/proxy + - name: Start npm Proxy + shell: bash + run: ./proxy.sh + working-directory: ./test/integration/proxy + - name: Determine tarball + shell: bash + working-directory: ./pkgs/cargo-messages/dist + run: | + echo "cargo-messages-linux-x64-gnu-$(jq -r '.version' < ../package.json).tgz" + ls -l "cargo-messages-linux-x64-gnu-$(jq -r '.version' < ../package.json).tgz" # - name: Publish @cargo-messages/linux-x64-gnu to proxy # shell: bash - # working-directory: ./pkgs/cargo-messages/npm/linux-x64-gnu + # working-directory: ./pkgs/cargo-messages/dist # run: | # npx npm-cli-adduser -u ${{env.CIUSER}} -p ${{env.CIPASS}} -e ${{env.CIEMAIL}} -r ${{env.PROXY}} # npm publish --registry ${{env.PROXY}}