From 547f41435c4cf583cc785f55d203172a04e7d5c7 Mon Sep 17 00:00:00 2001 From: Brian Cooper Date: Mon, 4 Dec 2023 13:59:39 -0500 Subject: [PATCH] change order of pub calls --- .github/workflows/components-test-build-deploy.yaml | 3 +-- .github/workflows/shared-data-test-lint-deploy.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/components-test-build-deploy.yaml b/.github/workflows/components-test-build-deploy.yaml index ce6dbc8bbbf..97156be1869 100644 --- a/.github/workflows/components-test-build-deploy.yaml +++ b/.github/workflows/components-test-build-deploy.yaml @@ -223,8 +223,7 @@ jobs: json -I -f ./components/package.json -e "this.version=\"$VERSION_STRING\"" json -I -f ./components/package.json -e "this.dependencies['@opentrons/shared-data']=\"$VERSION_STRING\"" - name: 'publish to npm registry' - run: | - cd ./components && npm publish --provenace --access public + run: cd ./components && npm publish --provenace --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/shared-data-test-lint-deploy.yaml b/.github/workflows/shared-data-test-lint-deploy.yaml index e2cb694bbc2..fb8d4a2a41e 100644 --- a/.github/workflows/shared-data-test-lint-deploy.yaml +++ b/.github/workflows/shared-data-test-lint-deploy.yaml @@ -253,8 +253,7 @@ jobs: VERSION_STRING=$(echo ${{ github.ref }} | sed -E 's/refs\/tags\/(components|shared-data)@//') json -I -f ./shared-data/package.json -e "this.version=\"$VERSION_STRING\"" - name: 'publish to npm registry' - run: | - cd ./shared-data && npm publish --provenace --access public + run: cd ./shared-data && npm publish --provenace --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}