From 2063af584f325549fbbd9b1557c26144449593ea Mon Sep 17 00:00:00 2001 From: asafmahlev Date: Tue, 13 Jun 2023 15:05:47 +0300 Subject: [PATCH] Switch release order --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1af66675..c6573afa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,14 +17,6 @@ jobs: cache: "npm" cache-dependency-path: | package-lock.json - - name: Publish new versions - run: | - npm install -g npm@latest - npm ci - npm run build - lerna publish from-git --yes - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - name: Package run: | lerna exec -- npm pack @@ -34,3 +26,11 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: args: packages/azure-kusto-data/*.tgz packages/azure-kusto-ingest/*.tgz packages/quick_start/*.tgz + - name: Publish new versions + run: | + npm install -g npm@latest + npm ci + npm run build + lerna publish from-git --yes + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}